Skip to content

Conversation

@bryancall
Copy link
Contributor

No description provided.

@atsci
Copy link

atsci commented Jun 28, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/372/ for details.

@atsci
Copy link

atsci commented Jun 28, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/268/ for details.

@atsci
Copy link

atsci commented Jun 29, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/374/ for details.

@atsci
Copy link

atsci commented Jun 29, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/270/ for details.

}

if (stream->is_body_done() && payload_length < available_size) {
if (stream->is_body_done() && payload_length <= available_size) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be problem when response body size is larger than 16375.

$ /opt/nghttp2/bin/nghttp -n "https://127.0.0.1:4443/httpbin/bytes/16376"
Some requests were not processed. total=1, processed=0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, to stop sending 0 payload DATA frame with END_STREAM flag, we need to check read available size of current_reader. Something like this.
https://paste.apache.org/8eVP

Copy link
Contributor Author

@bryancall bryancall Jun 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I updated the patch with <= so that it would set the END_STREAM on a 0 length frame. Thanks for the feedback about > 16375.

@shinrich
Copy link
Member

Looks good to me.

@masaori335 masaori335 added this to the 6.2.0 milestone Jun 29, 2016
@atsci
Copy link

atsci commented Jun 29, 2016

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/276/ for details.

@atsci
Copy link

atsci commented Jun 29, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/380/ for details.

@masaori335
Copy link
Contributor

LGTM

@atsci
Copy link

atsci commented Jun 29, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/381/ for details.

@atsci
Copy link

atsci commented Jun 29, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/277/ for details.

@bryancall bryancall merged commit 531cfff into apache:master Jun 29, 2016
JosiahWI pushed a commit to JosiahWI/trafficserver that referenced this pull request Jul 19, 2023
) (apache#760)

* Updated log message

* Added a comment

(cherry picked from commit ec3bcf3)
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants