1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-17 08:42:25 +03:00
Files
okhttp/samples
Jesse Wilson 4adcbdfebf Fix the UNIX sockets sample to use HTTP/2
It turns out that the NIO dumpsterfire harms us again here. The Channels APIs
synchronize whenever reading or writing to a stream if the channel implements
SelectableChannel. If both the input stream and the output stream are on the
same channel, then it is impossible to read and write concurrently.

Fixes: https://github.com/square/okhttp/issues/4419
2018-12-23 22:46:30 -05:00
..