2009/7/9 Damjan <[email protected]>: > > >> There is technically no way that you can determine what you want in >> that way. Something like the IsClientConnected property of IIS can't >> tell you that either. If it is being claimed that it can, then the >> claim is wrong. > > I thought that for a TCP connection, the close() call will block > untill the FIN/ACK packet is received?
A close() call would not be occurring at the time that the last of the data has been written/flushed for a response. It will only occur after mod_wsgi has returned control back to Apache, with the close() being done by Apache. If keep alive is enabled, it may not even happen straight away, but may only occur after keep alive timeout if no subsequent request. Connection could even be reused for another request by same client. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
