cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to send a file in a single HTTP POST request using CURL library

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 23 Jul 2008 22:52:54 -0700

On Wed, Jul 23, 2008 at 10:59:10PM -0400, harsh poshtiwala wrote:
> I have a client code I want to send the file Using Socket I found following
>
>
> 1) HTTP POST AND HTTP GET request over ETHERNET works 100% fine.
> 2) HTTP GET request over GPRS works fine.
> 3) HTTP POST request over GPRS doesn't work.(Even request doesn't
> reach to the server).
>
>
> I tried most of the debugging. The only difference in HTTP GET and
> HTTP POST request is the size of the data.
>
> I know that my cmux protocol (gsm0710) doesn't allow to transmit more
> than 255 bytes at one shot.

The baseband mux protocol is completely irrelevant. There are at least
three layers sitting above it that will do fragmentation and reassembly
as necessary. It's possible that there are bugs in those layers, but
a TCP stream will get through no matter what size the writes are.
I think it's more likely that there's a proxy in the way that's causing
grief.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-07-24