You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by raditha dissanayake <ra...@mediasolv.com> on 2001/11/26 15:05:15 UTC

proxy error with post

hi,
Guys i noticed that the proxy server blocks when you try to handle a 
post. I have traced the problem and manged to fix it ( source files are 
attached)

Basicaly it boiled down to the post data not being collected, and posted 
to the destination server correctly.

what i have basicaly done is to get the output stream from 
HttpURLConnection in Proxy.java and write to it. The data has to be 
collected at the request.parse method. Some how it does not seem to work 
in the run method in Proxy.java So i have had to add

     public String postData = new String();

to HttpRequestHdr.java

hope i haven't broken something else in the process.

Appreciate the good work that you guys are doing.


Raditha Dissanayake.