cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Sending 16K+packets fails on windows platform with CURLE_SEND_ERROR.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Jul 2014 23:38:30 +0200 (CEST)

On Tue, 1 Jul 2014, Sundar Anantharaman wrote:

> We are hitting issues while using the curl_easy_send API on windows
> platform. It return a CURLE_SEND_ERROR when we try to send a packet that is
> >16K in size.

Yes, we have a limitation there when sending TLS using the schannel backend.

> is there a suggested workaround.

Send your data in multiple calls?

> Also why is CURL not doing the chunking of packets or returning a
> CURLE_AGAIN after sending the 16K.

Because it hasn't been an issue to anyone before and nobody has provided code
for such a solution. Feel free to help us improve this! We'd be grateful.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-02