Javier,

    Have you been working with connection timeouts lately? I see some
things that don't add up in my mind:

"""
class _HTTPConnection(httplib.HTTPConnection):
    def __init__(self, host, port=None, strict=None,
                 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
        httplib.HTTPConnection.__init__(self, host, port, strict,
                                        timeout=TIMEOUT)
"""

"""
# Global connection timeout. In seconds.
TIMEOUT = 25
"""

"""
# Set the default timeout
# I dont need to use timeoutsocket.py , it has been added to python sockets
self._socket.setdefaulttimeout(cfg.getData('timeout'))
"""

    I don't understand which timeout is really used at the end, and if
the timeout that the user is setting through the UI is really being
used.

Regards,
-- 
Andrés Riancho
Director of Web Security at Rapid7 LLC
Founder at Bonsai Information Security
Project Leader at w3af

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to