Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Disconnect (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

              suppressTlsFallbackClientSocketFactory(),
              handshakeCertificates.trustManager,
            ).build()
        assertContent("abc", getResponse(newRequest("/")))
    
        // Give the server time to disconnect.
        Thread.sleep(500)
        assertContent("def", getResponse(newRequest("/")))
        val tlsVersions: Set<TlsVersion?> =
          EnumSet.of(
            TlsVersion.TLS_1_0,
            TlsVersion.TLS_1_2,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      @Test
      fun serverDisconnectsPrematurelyWithNoLengthHeaders() {
        // Intentionally empty. This case doesn't make sense because there's no
        // such thing as a premature disconnect when the disconnect itself
        // indicates the end of the data stream.
      }
    
      private fun testServerPrematureDisconnect(transferKind: TransferKind) {
        val mockResponse = MockResponse.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  4. src/main/webapp/js/bootstrap.min.js.map

    this._initializeTargetsAndObservables()\n    this._maybeEnableSmoothScroll()\n\n    if (this._observer) {\n      this._observer.disconnect()\n    } else {\n      this._observer = this._getNewObserver()\n    }\n\n    for (const section of this._observableSections.values()) {\n      this._observer.observe(section)\n    }\n  }\n\n  dispose() {\n    this._observer.disconnect()\n    super.dispose()\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    // TODO: on v6 target should be given explicitly...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 211.9K bytes
    - Viewed (0)
Back to top