3 ms·
Wait a minute, how CGI is preventing anyone from reusing connections? The web server doesn’t have to cut connections between CGI requests, the same way it doesn
by loup-vaillant 5y ago
Wait a minute, how CGI is preventing anyone from reusing connections? The web server doesn’t have to cut connections between CGI requests, the same way it doesn’t have to cut connections between the delivery of two different static files.
Maybe current web servers are written in such a way that they do cut connections between CGI requests, but I’d be surprised if they really have to.
- TheCoelacanth 5y agoThey aren't talking about client->server connections but about server->DB or server->other server connections. With CGI, any connection you create in your script is going to close at the end of the request when your process shuts down.