How to starthandshake with client browser??

From: Jakekeke (ping0613_at_hotmail.com)
Date: 10/26/04


Date: 26 Oct 2004 01:20:34 -0700

I am using JSSE to write a TCP socket program.
The task i need to do is reveice a CONNECT response from a browser, ie
HTTPS.
And then my program need to communicate with the destinated server.
My program can named as Proxy Server,however, it is a simply proxy
server what it should do is: communicate between browser and server,
and log down all the data transfer, including the request and response
header.

So, would anyone can tell me how to solve the problem i mention above?
You may provide some program statement for me to follow, or
describe what the 3 bodies, client/proxy/server should do in each
timeslot.

Thank you.
p.s. It is very urgent



Relevant Pages

  • Re: Response.Flush: Differences between IIS 6.0 and 5.0?
    ... I do not expect my ASP script to continue running until the ... ASP did send the entire response buffer to the client prior to continuing ... 'See how long it takes to Flush to the browser ... Browsing to this ASP page hosted on an IIS 5.0 server yield the following ...
    (microsoft.public.inetserver.iis)
  • Re: html servlet flow
    ... A browsers' request is always an absolute path, ... Imagine for example, that the browser requests for the url '/random', and the webserver recognizes this as a special address which doesn't actually point to a file, but instead indicates that the server should generate a random 32-bit integer and send its decimal string representation as a response. ...
    (comp.lang.java.programmer)
  • Re: writing a proxy ..
    ... the browser but I get a BAD REQUEST. ... I dont quite understand your code, To clear things up, is this code for an http proxy? ... if so why does the request originate with the proxy and where does your browser come into it. ... Can you explain the architecture of this thing, I usually expect there to be a Client talking to a Proxy which relays the request to a Server. ...
    (comp.lang.java.programmer)
  • Re: Automatisches Nachladen von Bildern
    ... einen Proxy Server benutze ich garantiert nicht. ... Aber schon in der der Entwicklung auf dem lokalen Server taucht dieses Problem auf. ... Im Browser wird folgende Html-Datei angezeigt: ... Nur der IE6 zeigt immer nur die Datei an, die beim ersten Mal erzeugt wurde. ...
    (microsoft.public.de.german.inetexplorer.ie6)
  • Re: request.setAttribute(...) versus session.setAttribute(...)
    ... Browser makes HTTP request for document associated with the link's URL ... Server prepares and sends a response, ...
    (comp.lang.java.programmer)