You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/01/25 11:44:41 UTC

[GitHub] [trafficserver] c-taylor edited a comment on issue #8426: Test SO_LINGER options for incoming and outgoing connections

c-taylor edited a comment on issue #8426:
URL: https://github.com/apache/trafficserver/issues/8426#issuecomment-1021102372


   The abortive close approach to setting with timeout 0 just before close() is a great mitigation for 'misbehaving' clients.
   * Timed out
   * Invalid data
   * Rate limited
   etc.
   
   I can see a reusable function that performs an abortive close being worthwhile. However the default should be to not set outside of the above.
   
   I don't believe the need to (write->drain->close) as a one shot is a common use case, and also should not be a default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org