www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: general/1142: spurious POST or PUT without Content-length errors
Date Fri, 26 Sep 1997 19:50:03 GMT
The following reply was made to PR general/1142; it has been noted by GNATS.

From: Dean Gaudet <dgaudet@arctic.org>
To: Doug Salot <dsalot@haggle.com>
Subject: Re: general/1142: spurious POST or PUT without Content-length errors
Date: Fri, 26 Sep 1997 12:46:21 -0700 (PDT)

 
   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
   Send mail to mime@docserver.cac.washington.edu for more info.
 
 ---271644610-169652028-875293504=:8764
 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
 Content-ID: <Pine.LNX.3.95dg3.970926123731.30331C@twinlark.arctic.org>
 
 Oh wow, it's a really weird browser bug it looks like.  It is definately
 sending a request w/o Content-Length.  Here's what it sent:
 
 	POST /cgi/getacct.cgi HTTP/1.0.
 	Referer: http://www.haggle.com/account.html.
 	Connection: Keep-Alive.
 	User-Agent: Mozilla/3.02 (WinNT; U).
 	Host: www.haggle.com.
 	Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*.
 	Cookie: cookie=carl@golfweb.com.
 	
 The trailing . are CR.  There should be one more line, which is the
 CRLF that terminates the headers, it never appears.  For example here is
 a valid GET later on in the capture:
 
 	GET /account.html HTTP/1.0.
 	If-Modified-Since: Tuesday, 16-Sep-97 18:08:56 GMT; length=1965.
 	Referer: http://www.haggle.com/.
 	Connection: Keep-Alive.
 	User-Agent: Mozilla/3.02 (WinNT; U).
 	Pragma: no-cache.
 	Host: www.haggle.com.
 	Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*.
 	.
 
 The first POST does not timeout on the server side.  What has happened is that
 netscape has kept-alive a connection and sent the bogus POST above to
 it.  The server responds immediately with an RST, I'm guessing because it has
 already closed that connection due to the keep-alive timeout.  Somehow
 netscape doesn't notice that closure immediately.
 
 Three seconds later a new connection is opened and the POST is re-sent
 (this is normal behaviour for a keep-alive browser in response to a
 closed connection).  The server is still waiting for the rest of the data,
 and a minute passes without event.  Then you reloaded the page.
 
 Hmm.  It would be nice to see what happened before this point, specifically
 what other traffic went on that first keep-alive connection.  We might be
 able to chase down what is causing netscape to flub up like this.  If I
 could trouble you to do this again but run the tcpdump before you even fire
 up the browser.  Then we'll have a record of all the tcp sessions.
 
 Thanks
 Dean
 
 On Fri, 26 Sep 1997, Doug Salot wrote:
 
 > OK, I've attached a dump of a sesion in which this problem was reproduced.
 > 
 > Here were the steps taken:
 > 
 > 1) go to the page with the form
 > 2) turn on tcpdump
 > 3) hit the submit button
 > 4) wait for a long time, but not long enough for a timeout
 > 5) hit the stop button
 > 6) reload the html page (as a marker for the dump)
 > 
 > Here's what appeared in the error log:
 > [Fri Sep 26 12:42:54 1997] access to /home/dsalot/html/cgi/getacct.cgi
 > failed for 209.1.103.92, reason: POST or PUT without Content-length:
 > [Fri Sep 26 12:42:54 1997] request lost connection to client 209.1.103.92
 > 
 > It's interesting to note that we did this twice.  The first time we let
 > the server time-out.  The time-out was logged, but there was no error
 > about content-length.  So it seems like the server is sitting there
 > waiting for data that the browser thinks it already sent.
 > 
 > Doug Salot
 > Haggle Online
 > http://www.haggle.com
 > 
 > On Wed, 24 Sep 1997 dgaudet@hyperreal.org wrote:
 > 
 > > Synopsis: spurious POST or PUT without Content-length errors
 > > 
 > > State-Changed-From-To: open-feedback
 > > State-Changed-By: dgaudet
 > > State-Changed-When: Wed Sep 24 23:44:09 PDT 1997
 > > State-Changed-Why:
 > > The single most useful thing now would be a tcpdump of a session
 > > showing this error.  We need full packets so that we can analyse
 > > what the browser sent and how the server reacted.  So you need to
 > > do something like this:
 > > 
 > >     tcpdump -s 1514 -w dumpfile tcp port 80 and host clientname
 > > 
 > > as root on a machine on the same ethernet segment as either the
 > > server or the client.  Then gzip the dumpfile and put it up for
 > > ftp/http and tell us where to get it.
 > > 
 > > Thanks
 > > Dean 
 > > 
 > 
 
 ---271644610-169652028-875293504=:8764
 Content-Type: APPLICATION/OCTET-STREAM; NAME="carl.log"
 Content-Transfer-Encoding: BASE64
 Content-ID: <Pine.LNX.3.95.970926130504.8764B@hagen.webdevelop.com>
 Content-Description: 
 
 1MOyoQIABAAAAAAAAAAAAOoFAAABAAAA0eUrNK6NAAA5AQAAOQEAAADgKQW7
 BQBgcBV5mwgARQABKzk9QAByBog50QFnXM/vPgkMFABQCshRzb6ZLGhQGCA/
 J0wAAFBPU1QgL2NnaS9nZXRhY2N0LmNnaSBIVFRQLzEuMA0KUmVmZXJlcjog
 aHR0cDovL3d3dy5oYWdnbGUuY29tL2FjY291bnQuaHRtbA0KQ29ubmVjdGlv
 bjogS2VlcC1BbGl2ZQ0KVXNlci1BZ2VudDogTW96aWxsYS8zLjAyIChXaW5O
 VDsgVSkNCkhvc3Q6IHd3dy5oYWdnbGUuY29tDQpBY2NlcHQ6IGltYWdlL2dp
 ZiwgaW1hZ2UveC14Yml0bWFwLCBpbWFnZS9qcGVnLCBpbWFnZS9wanBlZywg
 Ki8qDQpDb29raWU6IGNvb2tpZT1jYXJsQGdvbGZ3ZWIuY29tDQrR5Ss0ro0A
 ADYAAAA2AAAAAGBwFXmbAOApBbsFCABFAAAo6IQAAP8GjPTP7z4J0QFnXABQ
 DBS+mSxoAAAAAFAEAAByJAAA0eUrNM7bAAA8AAAAPAAAAADgKQW7BQBgcBV5
 mwgARQAAKDo9QAByBog80QFnXM/vPgkMFABQCshS0L6ZLGhQBAAAFIwAAAIE
 BaAvbdTlKzSOPwAAPAAAADwAAAAA4CkFuwUAYHAVeZsIAEUAACw8PUAAcgaG
 ONEBZ1zP7z4JDBcAUArJBq0AAAAAYAIgABPzAAACBAW0L2nU5Ss0jj8AADoA
 AAA6AAAAAGBwFXmbAOApBbsFCABFAAAs6KsAAEAGS8rP7z4J0QFnXABQDBeG
 2j5vCskGrmASfADylwAAAgQFtNTlKzROFAIAPAAAADwAAAAA4CkFu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