cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-701749 ] problems sending files bigger than 37662 bytes on HPUX

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 11 Mar 2003 11:08:49 -0800

Bugs item #701749, was opened at 2003-03-11 19:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=701749&group_id=976

Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Christophe Demory (illicom)
Assigned to: Daniel Stenberg (bagder)
Summary: problems sending files bigger than 37662 bytes on HPUX

Initial Comment:
We had problems sending files bigger than 37662 bytes
using curl7.9.5 and curl 7.10.1 on an HPUX 11.00 and
HPUX 10.20

After investigations, we found out that the swrite function
used in the function Curl_write of the the sendf.c file was
returning a EAGAIN under HPUX where the other
systems return a EWOULDBLOCK.

We have changed the code with the following:

      /* ILLICOM
         added test on EAGAIN to prevent problems on
         "big" files on HPUX
      */
      if((EWOULDBLOCK == errno) || (EAGAIN == errno))
#endif
      {
        /* this is just a case of EWOULDBLOCK */
        *written=0;
        return CURLE_OK;
      }

and now it all works fine !

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=701749&group_id=976

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-11