in reply to Re^2: Direct a LWP connection to a different host
in thread Direct a LWP connection to a different host
This should work too, at least somewhat, because the main difference between the proxy request and the real request is that the GET request is changed from a relative to an absolute URL:
Host: www.google.com GET http://www.google.com/
instead of
Host: www.google.com GET /
But yes, that somewhat invalidates the intent to just redirect the socket connection and leave everything else as-is, to fake a different name resolution as there actually is.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Direct a LWP connection to a different host
by Aristotle (Chancellor) on Jan 31, 2005 at 07:56 UTC | |
by hossman (Prior) on Jan 31, 2005 at 08:18 UTC |