a3912e4913
The HTTP client mixin provides a #send_request_cgi method which forcibly disconnects the client after receiving a response. This terminates certain types of resulting sessions which depend on the connection from the client to maintain a subprocess housing the shell invocation. Provide a disconnect boolean option to #send_request_cgi which is checked in the disconnect(c) call after receiving the response. Testing: Locally tested on in-house exploit module written for disclosure report. TODO: Discuss possibility of implementing fully asynchronous methods like #send_request_cgi_async which won't bother getting a response for cases such as the module mentioned above which is a command injection via unfiltered POST var.