version 2.5, 1996/10/07 02:04:30
|
version 2.5.2.1, 1996/11/05 21:43:05
|
Line 32 Library</A>.
|
Line 32 Library</A>.
|
#define HTCONLEN_H |
#define HTCONLEN_H |
</PRE> |
</PRE> |
<H2> |
<H2> |
|
Buffer Stream |
|
</H2> |
|
<P> |
|
This stream does almost the same as the content length counter stream except |
|
that it doesn't count the length! In other words - it's a completely normal |
|
memory buffer for the stream. If the buffer fills up, this stream flushes |
|
the buffer and goes transparent so that all new data will be pumped through |
|
without any buffering. |
|
<PRE> |
|
extern HTStream * HTBuffer_new (HTStream * target, |
|
HTRequest * request, |
|
int max_size); |
|
</PRE> |
|
<H2> |
Content Length Counter Stream |
Content Length Counter Stream |
</H2> |
</H2> |
<P> |
<P> |
Line 45 extern HTStream * HTContentCounter (HTSt
|
Line 59 extern HTStream * HTContentCounter (HTSt
|
int max_size); |
int max_size); |
</PRE> |
</PRE> |
<H2> |
<H2> |
Buffer Stream |
Delay Buffer Stream |
</H2> |
</H2> |
<P> |
<P> |
This stream does almost the same as the content length counter stream except |
This stream is much like the buffer stream above but instead of goin transparent |
that it doesn't count the length! In other words - it's a completely normal |
when the buffer fills up, it returns <CODE>HT_PAUSE</CODE> which indicates |
memory buffer for the stream. If the buffer fills up, this stream flushes |
that the stream doesn't accept more data and so the caller should not put |
the buffer and goes transparent so that all new data will be pumped through |
any more data into it. When the buffer is flushed (the flush method invoked) |
without any buffering. |
then the stream goes into transparent mode, just like the buffer stream. |
<PRE> |
<PRE> |
extern HTStream * HTBuffer_new (HTStream * target, |
extern HTStream * HTDelayBuffer (HTStream * target, |
HTRequest * request, |
int max_size); |
int max_size); |
|
</PRE> |
</PRE> |
<H2> |
<H2> |
Pipe Buffer Stream |
Pipe Buffer Stream |
Line 65 extern HTStream * HTBuffer_new (HTStrea
|
Line 78 extern HTStream * HTBuffer_new (HTStrea
|
This stream is much like the buffer stream above but instead of goin transparent |
This stream is much like the buffer stream above but instead of goin transparent |
when the buffer fills up, it returns <CODE>HT_PAUSE</CODE> which indicates |
when the buffer fills up, it returns <CODE>HT_PAUSE</CODE> which indicates |
that the stream doesn't accept more data and so the caller should not put |
that the stream doesn't accept more data and so the caller should not put |
any more data into it. When the buffer is flushed (the flush method invoked) |
any more data into it. |
then the stream goes into transparent mode, just like the buffer stream. |
|
<PRE> |
<PRE> |
extern HTStream * HTPipeBuffer_new (HTStream * target, |
extern HTStream * HTPipeBuffer (HTStream * target, |
HTRequest * request, |
|
int max_size); |
int max_size); |
</PRE> |
</PRE> |
<P> |
<P> |