cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: In HTTP PUT: After 100 continue, curl library is not calling the read callback.

From: venkataragavan vijayakumar <venkataragavan.v_at_gmail.com>
Date: Thu, 30 Jun 2011 11:29:42 +0530

Hi Dan,

I am using curl-7.21.6 and httpd2.2.13. Platform is linux cent OS.

Following is the result i am getting while trying to PUT a file. Read
callback is not called.

* About to connect() to 10.232.53.60 port 80
* Trying 10.232.53.60... * connected
> PUT /docs/test/ HTTP/1.1
Host: 10.232.53.60
Pragma: no-cache
Accept: */*
Content-Length: 318
Expect: 100-continue

< HTTP/1.1 100 Continue

Regards,
Venkat.

On Wed, Jun 29, 2011 at 7:45 PM, Dan Fandrich <dan_at_coneharvesters.com>wrote:

> On Wed, Jun 29, 2011 at 05:46:40PM +0530, venkataragavan vijayakumar wrote:
> > I am trying to PUT a file in a server location using the sample
> http_put.c file
> > in the example.
> > 100-continue is came from the server, but the read callback is not called
> and
> > the application is hanged.
> > Is this the problem with the server or i have enable any setting in
> Library.
> > I am using the APACHE server, whether i have to enable PUT request in
> that
> > server.
> >
> > Please help me to resolve this issue.
>
> What version of libcurl and Apache is this and on what platform? What
> happens if you force a HTTP/1.0 transaction?
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-30