Hi, Remy, Is the fix available for 8.5.16? if not, could you please share the code changes?
Thanks, Michael -----Original Message----- From: Rémy Maucherat [mailto:[email protected]] Sent: Friday, January 5, 2018 5:58 AM To: Tomcat Users List <[email protected]> Subject: [EXTERNAL]Re: org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun Handshake failed On Fri, Jan 5, 2018 at 8:38 AM, Rémy Maucherat <[email protected]> wrote: > On Fri, Jan 5, 2018 at 12:25 AM, Michael Peng < > [email protected]> wrote: > >> Do the changes make sense, and what would be the side effect ? In our >> case, the "netInBuffer" could be full, i.e., postion = limit for >> large data. Maybe the "netInBuffer" should not be cleared since >> "compact" would reset the "netInBuffer", should it? >> >> The buffer is flipped after that and the NIO code is the same anyway, >> so > the change doesn't make sense indeed as is. > > Looking at it made it seem not right compared to NIO, so I made > another change and hopefully fixed it. Rémy
