]> granicus.if.org Git - curl/commit
Curl_getconnectinfo: avoid checking if the connection is closed
authorIsaac Boukris <iboukris@gmail.com>
Tue, 6 Dec 2016 22:39:08 +0000 (00:39 +0200)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 18 Dec 2016 11:47:10 +0000 (12:47 +0100)
commit82245eaa56c368f6b6b9abf4de63e7d6fb786f71
treec843d8d8e23fc1bae1b6964d67320219ca39f679
parent6bc1051608a03da2e7a457839e7d21a1b3cfb911
Curl_getconnectinfo: avoid checking if the connection is closed

It doesn't benefit us much as the connection could get closed at
any time, and also by checking we lose the ability to determine
if the socket was closed by reading zero bytes.

Reported-by: Michael Kaufmann
Closes https://github.com/curl/curl/pull/1134
lib/connect.c
lib/connect.h
lib/rtsp.c