<?xml version="1.0" encoding="windows-1252"?>
<node id="216349" title="•Re: Direct access to client socket in CGI/mod_perl?" created="2002-11-28 12:14:34" updated="2004-08-18 12:21:27">
<type id="11">
note</type>
<author id="9073">
merlyn</author>
<data>
<field name="doctext">
It's been my experience that the POST data to Apache mod_cgi-based programs is delivered "live" and not buffered.  (As an aside, that's why you can't rely on reading "content-length" number of bytes, because that's only what the browser suggested it was going to send.)
&lt;p&gt;
However, I have to ask the next question: how will your CGI know when the data is actually finished then?
&lt;p&gt;
Also, if there are any proxies in between, all bets are off.
&lt;p&gt;-- [http://www.stonehenge.com/merlyn/|Randal L. Schwartz, Perl hacker]
&lt;br&gt;
Be sure to read [id://205373|my standard disclaimer] if this is a reply.&lt;/p&gt;</field>
<field name="root_node">
216347</field>
<field name="parent_node">
216347</field>
</data>
</node>
