Hi

I got an error in the connect() function of the ProxyHTTPConnection class in
keepalive.py.
int this line self.send("CONNECT %s:%d HTTP/1.0\r\n\r\n" % (self._real_host,
self._real_port)) it expects a integer as port number.

In the code proxy_setup code, I saw just a split of the host and port. So I
presume the port is not an integer. So I propose to make a small
modification in the proxy_setup code.

572c572
<                 self._real_port = self._ports[proto]
---
>                 port = self._ports[proto]
575,576d574
<         else:
<             self._real_port = int(port)
577a576
>         self._real_port = port

Greetz,

DDT
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to