W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

HTHost_forceFlush question

From: Tedd Hadley <hadley@reliant.yxi.com>
Date: Thu, 11 May 2000 09:03:21 -0700
To: www-lib@w3.org
Message-ID: <10216.958061001@agamemnon>
   Is HTHost_forceFlush supposed to permanently reset host->forceWriteFlush?
   From the name and use, I wouldn't expect that behavior.

   (Called from HTTP_CONNECTED label in HTTP.c after some kind of
    pipe error condition which I haven't figured out; sets value
    to NO, resulting in delayed flushes from then on)

RCS file: /sources/public/libwww/Library/src/HTHost.c,v
retrieving revision 2.68

  PUBLIC int HTHost_forceFlush(HTHost * host)
      HTNet * targetNet = (HTNet *) HTList_lastObject(host->pipeline);
      int ret;
      if (targetNet == NULL) return HT_ERROR;
      HTTRACE(CORE_TRACE, "Host Event.. FLUSH passed to `%s\'\n" _ 
      host->forceWriteFlush = YES;
      ret = (*targetNet->event.cbf)(HTChannel_socket(host->channel), targetNet->event.param, HTEvent_FLUSH);
      host->forceWriteFlush = NO;
Received on Thursday, 11 May 2000 12:03:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC