On Thu, 28 Apr 2005 14:45:20 -0700 (PDT)
Joanna Roman <[EMAIL PROTECTED]> wrote:
> Hi I am adding some kind of web scanning code into a
> http proxy. Somewhere in the code where the proxy is
> ready to send the HTTP GET request to the server, I
> added some code to first download the URL and scan it
> before letting the proxy to send the GET request out.
> I was using something like system("/usr/local/bin/curl
> url name ..."). This works well only if the server
> does not require any session information. In other
> words, the mechanism wont work if I try to intercept
> some download via, for example, mail.yahoo.com because
> the curl will open a fresh tcp connection, about which
> the server has not session information. So I am
> wondering whether it is possible to make curl talk to
> the server via an already opened socket descriptor.
> That way I can just pass the socket descriptor to the
> curl instead of calling system("curl ...") !!!
Wrong mailing-list.
--
oo. Tomasz Kojm <[EMAIL PROTECTED]>
(\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
\..._ 0DCA5A08407D5288279DB43454822DC8985A444B
//\ /\ Thu Apr 28 23:48:38 CEST 2005
pgp5usYs1TojH.pgp
Description: PGP signature
___
http://lurker.clamav.net/list/clamav-users.html