mirror of
https://github.com/curl/curl.git
synced 2026-07-27 16:28:59 +03:00
fixed up the telnet to work (using support from Linus Nielsen)
This commit is contained in:
parent
c41c5a0ef2
commit
a14aaaf23f
2 changed files with 17 additions and 9 deletions
|
|
@ -161,6 +161,12 @@ _Transfer(struct connectdata *c_conn)
|
|||
Curl_pgrsTime(data, TIMER_PRETRANSFER);
|
||||
Curl_speedinit(data);
|
||||
|
||||
if((conn->sockfd == -1) &&
|
||||
(conn->writesockfd == -1)) {
|
||||
/* nothing to read, nothing to write, we're already OK! */
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
if (!conn->getheader) {
|
||||
header = FALSE;
|
||||
if(conn->size > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue