W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

HTWriter dumps...

From: olga <olga@goliath.eai.com>
Date: Wed, 14 Oct 1998 10:37:29 -0500 (CDT)
Message-ID: <XFMail.981014103729.olga@eai.com>
To: www-lib@w3.org
Hi,

I am using HTLoadToFile with proxy set and from time-to-time 
the application crashes in HTWriter_write. Could it be made more fault
tolerant? 

Thanks,

Olga.

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

Process   115 (VisFly_sgi_dbg) stopped on signal SIGPIPE: Broken pipe (handler
_lm_sigpipe) at [_write:15 +0x8,0xfa429b4]
         Source (of write.s) not available for Process   115
(dbx) where
>  0 _write(0xc, 0x10221798, 0xdb, 0x1) ["write.s":15, 0xfa429b4]
   1 HTWriter_write(me = 0x100af6e8, buf = 0x10221798 = "GET
....


(dbx) up
HTWriter_write: 128  if ((b_write = NETWRITE(soc, wrtp, len)) < 0) {
(dbx) l
   129  #ifdef EAGAIN
   130              if (socerrno == EAGAIN || socerrno == EWOULDBLOCK)/* POSIX,
SVR4 */
   131  #else
   132              if (socerrno == EWOULDBLOCK)                             
/* BSD */
   133  #endif
   134              {
   135                  HTHost_register(host, net, HTEvent_WRITE);
   136                  me->offset = wrtp - buf;
   137                  if (STREAM_TRACE)
   138                      HTTrace("Write Socket WOULD BLOCK %d (offset
%d)\n",soc, me->offset);

----------------------------------
E-Mail: olga <olga@eai.com>
Date: 14-Oct-98
Time: 10:27:53

This message was sent by XFMail
----------------------------------
Received on Wednesday, 14 October 1998 11:34:35 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:19 EDT