On 24/09/2021 18:30, ma...@apache.org wrote:
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 b7c05a8 Implement the new connection ID and request ID API for
Servlet 6.0
Doing some simple testing locally highlighted something interesting.
The Coyote Request gets recycled twice for most requests. Once when the
HTTP request is complete and once when the Processor is recycled just
before the socket is added to the Poller.
I took a look to see if I could convince myself that one of these could
be removed. The first is definitely required for pipelined requests. The
second looks to be required for some error conditions. If anyone fancies
a brain teaser then finding a way to have just one call to
Request.recycle() might keep you entertained for a while ;)
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org