cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: "Send failure: Operation not supported on socket" when doing a HTTP POST

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Feb 2010 23:24:37 +0100 (CET)

On Fri, 26 Feb 2010, Krishna Chaithanya Muthyala wrote:

> I am able to send the post successfullly when there are less files. But,
> when I do it for more number of files, I get "500 Internal Server Error" and
> libcurl debug output shows the message
>
> * Send failure: Operation not supported on socket
> * Closing connection #0
> * Failed sending data to the peer
>
> Is there any limitation when we send the data as a buffer? Without that
> buffer, I am able to send as many files as I can.

You didn't say what libcurl version on what OS this is. And also, the _server_
says "500 Internal Server Error" why do you even think that this is a problem
in the client end?

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