Log Message: |
Explicitly setup the connection buckets, instead of relying on the read or
write code to do it in time. Resolve an error code leak.
* outgoing.c
(do_conn_setup): Rename to...
(serf_connection__perform_setup): ... this.
(prepare_conn_streams): Remove. Folded into only remaining caller.
(connect_connection): Call serf_connection__perform_setup directly.
(write_to_connection,
read_from_connection): Just assume connection streams exist when connected.
* serf_private.h
(serf_connection__perform_setup): New function.
* ssltunnel.c
(handle_response): Explicitly setup connection over tunnel.
|