tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42996] POST with nio connector results in missing variables
Date Fri, 24 Jul 2009 19:46:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42996


Filip Hanik <fhanik@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO




--- Comment #20 from Filip Hanik <fhanik@apache.org>  2009-07-24 12:46:34 PST ---
I ran this through a TCP monitor, and at the time of the request that failed
(ie, it had 0 parameters, here is what it looks like


REQUEST
----------------8<----------------------------
POST /test/action HTTP/1.1
Accept: */*
Accept-Language: en-us
Referer: http://10.0.2.2:8082/test/#send
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729)
Host: 10.0.2.2:8082
Content-Length: 25
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=A6DABF8D3A1FEB0A173CCD78D8CD8BE8


----------------8<----------------------------

The request says there should be a 25 byte content length, but there are no
parameters in the request.
Another (succesful request looks like this)




SUCCESSFUL REQUEST
----------------8<----------------------------
POST /test/action HTTP/1.1
Accept: */*
Accept-Language: en-us
Referer: http://10.0.2.2:8082/test/#send
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729)
Host: 10.0.2.2:8082
Content-Length: 25
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=A6DABF8D3A1FEB0A173CCD78D8CD8BE8

param1=Lorem&param2=ipsum
----------------8<----------------------------

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message