Burp Suite User Forum

Create new post

unexpected makeHttpRequest timeout value

Tiago | Last updated: Jan 17, 2017 02:48PM UTC

I'm using IHttpRequestResponse makeHttpRequest(IHttpService httpService, byte[] request) to send a modified request that I got from an IScanIssue. If the target host is down, I get a timeout (return == null) and it takes approximately 26 secs. I don't know how this 26s is calculated since my timeout values are: Normal 120 Open ended: 10 DNS resolution 300 Failed DNS resolution 60 Which configurations are used to calculate the timeout of a makeHttpRequest request?

PortSwigger Agent | Last updated: Jan 17, 2017 03:01PM UTC

If the host is down then the OS will fail to open a socket to the server. The connection attempt will time out at the discretion of the OS, when the TCP stack gives up waiting. Once a socket is established, and Burp has sent its request and is waiting for a response, that is when the timeout values configured in the Burp options take effect.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.