Re: [tomcat] branch main updated: Protect against a known OS bug

2021-11-22 Thread Mark Thomas
On 22/11/2021 18:28, Christopher Schultz wrote: It seems like very little overhead -- especially because it's done only once per connection and not, for example once per request or (much worse) once-per-IO-event. So it's probably not worth the extra code unless it's easy to swap-out the

Re: [tomcat] branch main updated: Protect against a known OS bug

2021-11-22 Thread Christopher Schultz
Mark, On 11/22/21 11:57, Mark Thomas wrote: On 22/11/2021 15:36, Christopher Schultz wrote: Mark, Apologies for top-posting but this might get lost in the code below. No problem. This patch appears to: 1. Get the address from the just-accepted socket 2. Compare the address to the

Re: [tomcat] branch main updated: Protect against a known OS bug

2021-11-22 Thread Mark Thomas
On 22/11/2021 15:36, Christopher Schultz wrote: Mark, Apologies for top-posting but this might get lost in the code below. No problem. This patch appears to: 1. Get the address from the just-accepted socket 2. Compare the address to the most-recently-accepted socket address (see #3)  

Re: [tomcat] branch main updated: Protect against a known OS bug

2021-11-22 Thread Christopher Schultz
Mark, Apologies for top-posting but this might get lost in the code below. This patch appears to: 1. Get the address from the just-accepted socket 2. Compare the address to the most-recently-accepted socket address (see #3) 2a. Throw an error if the current and previous address are the same

[tomcat] branch main updated: Protect against a known OS bug

2021-11-17 Thread markt
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new d03cfcf Protect against a known OS bug d03cfcf is