Unable to maintain keep alive connection while using burp suite
Hi, I am trying to test a webapp for vulnerabilities. I am using keep alive connections for my app's functioning, it works fine when i am not using burp as a proxy. But i am unable to maintain keep alive connections when using burp. Plese suggest any way to maintain a keep alive connection using burp.
Hi Jatin, inside Proxy > Options > Miscellaneous, do you have ‘Set ’Connection Close’ on incoming requests’ enabled?
Burp Suite is set by default to automatically close connections as this can often have performance benefits.
Hi Jatin, I have just spoken to our Burp Suite development team. Burp Suite will automatically close connections when proxying traffic as it provides significant performance and reliability benefits.
The setting I referred to previously will stop Burp from injecting a ‘Connection: close’ header when proxying traffic which can help in certain scenarios, however, it doesn’t prevent it from closing the connection.
So, is there any way that i can keep-alive my connection for any period of time like 5 minutes, so that i can test my app's functionalities in that time span.
Hi Jatin, unfortunately, the connection will be closed as soon as the response is received. Therefore you will not be able to work around this limitation in that way.
When you refer to using Keep-Alive connections for your application, are you using Server-Sent Events? As we have another user asking about this at the moment so we could look into this if it was a requested feature.