Refactored data transfer code.
authorTim Vaughan <plugd@thelambdalab.xyz>
Thu, 18 Jun 2020 22:46:19 +0000 (00:46 +0200)
committerTim Vaughan <plugd@thelambdalab.xyz>
Thu, 18 Jun 2020 22:46:19 +0000 (00:46 +0200)
commit8fe5ce318b38dd84429e3f16f44f1718defe1ba6
treea5e776b3d1e4f94fa3a58a8dfa0d92e8aae3b98d
parent755a375d1fe78be3c1ad35cd516ac38faaf0e0d6
Refactored data transfer code.

This is a significant change.
The network code which was previously spread out among
elpher-get-selector, elpher-get-gemini-response and
elpher-get-finger-page has been replaced by a single
elpher-get-host-reponse function.

In addition, we now use make-network-process instead of
open-network-stream, as this affords us greater flexibility
in speicyfing connections.  This allows us to properly
specify ipv4, when necessary.

Connection error reporting has been improved, and connection
state is now explicitly reported.
elpher.el