It sounds like you made some interesting and useful additions. Please attach the code to a new bug in Bugzilla to share with everyone else.
Some of your changes might prove to be good additions to the HttpClient code base. In order for them to be included though they would need to be licensed with the Apache 2.0 license. I don't know if this is an option for you, but please let us know.
Thanks,
Mike
On Apr 1, 2004, at 9:59 PM, [EMAIL PROTECTED] wrote:
[ Sorry I had to remove the zip because it was bounced by the list - pls let me know where or to whom it should be sent - MS ]
Greetings,
A while back we discussed some changes I proposed to allow one to use HttpClient to negotiate with a web proxy (authentication and tunnel via CONNECT) in order to create a TCP connection for use by arbitrary (even binary), non-HTTP protocols, in my case JXTA over TCP. This was basically all about providing direct access to the Socket underylying a HttpConnection.
Anyhow, I have done those modifications and introduced the 'NullMethod' class. These changes are in the attached zip. Also included in the zip are changes to make Jxta-TCP use this web proxy tunneling ability.
These modifications were written by me and are courtesy of my employer, Ecmarket. They are released to the public domain. Please see the LICENCE.txt file in the attached zip.
I hope these changes or changes of a similar nature will be included in future versions of HttpClient. I believe providing access to the Socket will be very useful (for example I wrote a program to tunnel SSH through a web proxy using these mods).
Cheers,
/Mike Sample
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]