Skip to content

Commit

Permalink
Fixed the check on the WINSOCK workaround that caused the feature to …
Browse files Browse the repository at this point in the history
…not become enabled.
  • Loading branch information
icing committed Nov 10, 2022
1 parent 9c00c49 commit df62dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sendf.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static CURLcode pre_receive_plain(struct Curl_easy *data,
performed before every send() if any incoming data is
available. However, skip this, if buffer is already full. */
if((conn->handler->protocol&PROTO_FAMILY_HTTP) != 0 &&
conn->recv[num] == Curl_recv_plain &&
conn->recv[num] == Curl_cfilter_recv &&
(!psnd->buffer || bytestorecv)) {
const int readymask = Curl_socket_check(sockfd, CURL_SOCKET_BAD,
CURL_SOCKET_BAD, 0);
Expand Down

0 comments on commit df62dde

Please sign in to comment.