Re: 8203937: Not possible to read data from socket after write detects connection reset

2018-06-03 Thread Norman Maurer
I will test this with Netty as well and report back Bye Norman > Am 03.06.2018 um 13:07 schrieb Alan Bateman : > > This is a follow-up to the "Problem with half-closure related to > connection-reset in Java 11" thread that we've been discussing here over the > last few days. As we discussed, y

Re: HttpClient API usage feedback/questions

2018-06-03 Thread James Roper
On Sat, 2 Jun 2018 at 16:52, Jaikiran Pai wrote: > 2. Would it be a good idea to add APIs (perhaps in HttpHeaders class) to > return values of higher level constructs represented by the headers. > Imagine certain well-known headers in the response, like Content-Length > and Content-Type. Would it

8203937: Not possible to read data from socket after write detects connection reset

2018-06-03 Thread Alan Bateman
This is a follow-up to the "Problem with half-closure related to connection-reset in Java 11" thread that we've been discussing here over the last few days. As we discussed, you can't reliably rely on being able to read bytes after the connection reset but it is a reminder that a subtle behavio