- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Bourget (0.36 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
"FGHIJKLMNOPQRSTUVWXYZ", ) inputStream.close() assertContent("ABCDEFGHIJKLMNOPQRSTUVWXYZ", getResponse(newRequest("/"))) } /** * We've had a bug where we forget the HTTP response when we see response code 401. This causes a * new HTTP request to be issued for every call into the URLConnection. */ @Test fun unauthorizedResponseHandling() { val mockResponse =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
val callReference = reference as CallReference val message = "A connection to ${connection.route().address.url} was leaked. " + "Did you forget to close a response body?" Platform.get().logCloseableLeak(message, callReference.callStackTrace) references.removeAt(i)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
awaitGarbageCollection() val message = testLogHandler.take() assertThat(message).contains( "A connection to ${server.url("/")} was leaked. Did you forget to close a response body?", ) } @Tag("Slowish") @Test fun asyncLeakedResponseBodyLogsStackTrace() { server.enqueue(MockResponse(body = "This gets leaked.")) client =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0)