You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/05/24 01:51:14 UTC
[Bug 66084] New: bytesWritten in writeBytes() miscalculation for OutputBuffer
https://bz.apache.org/bugzilla/show_bug.cgi?id=66084
Bug ID: 66084
Summary: bytesWritten in writeBytes() miscalculation for
OutputBuffer
Product: Tomcat 9
Version: 9.0.63
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: 1205878539@qq.com
Target Milestone: -----
Created attachment 38301
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38301&action=edit
left is source code, right is test code
在org.apache.catalina.connector.OutputBuffer类的private void writeBytes(ByteBuffer
from) 方法中,不能正确的将可写入字节长度计入写入字节数据总量中。
In org. Apache. Catalina. Connector. OutputBuffer class private void writeBytes
(ByteBuffer from) method, is unable to correctly write bytes will be recorded
in writing bytes of data amount. -By translation software
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66084] bytesWritten in writeBytes() miscalculation for OutputBuffer
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66084
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- 10.1.x for 10.1.0-M16 onwards
- 10.0.x for 10.0.22 onwards
- 9.0.x for 9.0.64 onwards
- 8.5.x for 8.5.80 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66084] bytesWritten in writeBytes() miscalculation for OutputBuffer
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66084
lihan <ao...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from lihan <ao...@gmail.com> ---
I've raised a pr based on your feedback,
https://github.com/apache/tomcat/pull/516
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org