< prev index next >
src/java.httpclient/share/classes/java/net/http/Stream.java
Print this page
rev 14860 : fix Memory leak in HTTP2Connection.streams
rev 14682 : 8158651: ConcurrentModification exceptions in httpclient
Reviewed-by: rriggs
rev 14584 : 8157105: HTTP/2 client hangs in blocking mode if an invalid frame has been received
Reviewed-by: rriggs
rev 14431 : 8156710: HttpTimeoutException should be thrown if server doesn't respond
Reviewed-by: michaelm
rev 14348 : 8087124: HTTP/2 implementation
Reviewed-by: chegar
rev 13785 : 8087112: HTTP API and HTTP/1.1 implementation
Reviewed-by: alanb, chegar, coffeys, psandoz, rriggs
*** 615,624 ****
--- 615,625 ----
}
void sendBodyImpl() throws IOException, InterruptedException {
if (requestContentLen == 0) {
// no body
+ requestSent();
return;
}
DataFrame df;
do {
df = getDataFrame();
*** 665,675 ****
T body = processor.onResponseBodyStart(
responseContentLen, responseHeaders,
responseFlowController); // TODO: filter headers
if (body == null) {
receiveData();
! return processor.onResponseComplete();
} else
receiveDataAsync(processor);
responseReceived();
return body;
}
--- 666,676 ----
T body = processor.onResponseBodyStart(
responseContentLen, responseHeaders,
responseFlowController); // TODO: filter headers
if (body == null) {
receiveData();
! body = processor.onResponseComplete();
} else
receiveDataAsync(processor);
responseReceived();
return body;
}
< prev index next >