1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-24 18:41:06 +03:00
Files
okhttp/okhttp-testing-support
Jesse Wilson 5917d7a083 Add a way for MockWebServer to track truncated requests
It now tracks inbound requests that fail with an IOException.

Also add a fix for the bug where we'd send 'END OF STREAM' on a stream
that we'd previously canceled, which raced with the 'RST STREAM' and led
to flakiness.

Before we ship the new API in RecordedRequest we should go over the
other cases where inbound HTTP requests fail and make sure they
get reported through this channel.

Closes: https://github.com/square/okhttp/issues/5388
2019-10-05 21:50:00 -04:00
..
2019-08-18 12:03:51 +03:00

OkHttp Testing Support

This module offers utilities and support for testing OkHttp itself. It's not intended for use by other projects or consumers of the OkHttp library.