valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
225 stars 23 forks source link

Explicitly close the connection for SCGI #152

Closed arteymix closed 8 years ago

arteymix commented 8 years ago

Right now, I think that the connection remains open until the HTTP server realizes that it's not being used. With a small amount of connection (~10) it really hurts performance.

It's part of the protocol that the server closes the connection when it's done producing the response.

arteymix commented 8 years ago

Just a side note: it's possible to go far beyond what a6c083e brought by closing the connection earlier, but I suspect that it would be really dangerous.