Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getReadTimeout (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            req.timeout(3000, 5000);
            // onConnect runs AFTER timeout, so it can override
            req.onConnect((r, conn) -> {
                conn.setReadTimeout(9999);
                onConnectReadTimeout.set(conn.getReadTimeout());
            });
    
            // ## Act ##
            try (CurlResponse response = req.execute()) {
                // ## Assert ##
                // timeout() was applied first (3000, 5000)
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
Back to Top