Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update comments
  • Loading branch information
robaho committed Oct 8, 2025
commit ddf563034706c183d9d1eaac21ffa6de2d51fb20
2 changes: 1 addition & 1 deletion src/main/java/robaho/net/httpserver/ExchangeImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public void sendResponseHeaders(int rCode, long contentLen)
o.setWrappedStream(ros);
close = true;
flush = true;
} else { /* not a HEAD request or 304 response */
} else { /* standard response with possible response data */
if (contentLen == 0) {
if (http10) {
o.setWrappedStream(new UndefLengthOutputStream(this, ros));
Expand Down