- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 572 for sockets (0.16 seconds)
-
src/bufio/net_test.go
// TestCopyUnixpacket tests that we can use bufio when copying // across a unixpacket socket. This used to fail due to an unnecessary // empty Write call that was interpreted as an EOF. func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server. addr := &net.UnixAddr{ Name: socket, Net: "unixpacket", } server, err := net.ListenUnix("unixpacket", addr)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { // No TLS extensions if the socket class is custom. if (matchesSocket(sslSocket)) { try { // Enable session tickets. setUseSessionTickets.invoke(sslSocket, true) // Assume platform support on 24+ if (hostname != null && Build.VERSION.SDK_INT <= 23) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
var writeBytesMaximum: Long = peerSettings.initialWindowSize.toLong() private set internal val socket: BufferedSocket = builder.socket val writer = Http2Writer(socket.sink, client) // Visible for testing val readerRunnable = ReaderRunnable(Http2Reader(socket.source, client)) // Guarded by this. private val currentPushRequests = mutableSetOf<Int>() init {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
RecordedRequest( "", headersOf(), listOf(), 0L, Buffer(), 0, Socket(), ) recordedRequest = RecordedRequest("", headersOf(), listOf(), 0L, Buffer(), 0, Socket()) var requestUrl: HttpUrl? = recordedRequest.requestUrl var requestLine: String = recordedRequest.requestLine var method: String? = recordedRequest.method
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
* attempting to read with a short timeout. If the fails immediately we know the socket is * unhealthy. * * @param source the source used to read bytes from the socket. */ internal fun Socket.isHealthy(source: BufferedSource): Boolean = try { val readTimeout = soTimeout try { soTimeout = 1 !source.exhausted()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
cmd/server-main.go
}) var buckets []string // List buckets to initialize bucket metadata sub-sys. bootstrapTrace("listBuckets", func() { for { bucketsList, err := newObject.ListBuckets(GlobalContext, BucketOptions{NoMetadata: true}) if err != nil { if configRetriableErrors(err) { logger.Info("Waiting for list buckets to succeed to initialize buckets.. possible cause (%v)", err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
): RealConnection { val result = RealConnection.newTestConnection( taskRunner = taskRunner, connectionPool = pool, route = route, socket = Socket(), idleAtNs = idleAtNanos, ) result.withLock { pool.put(result) } return result } fun newConnectionPool( taskRunner: TaskRunner = this.taskRunner,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 08 21:07:01 GMT 2026 - 9.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection import java.net.Socket as JavaNetSocket import okio.BufferedSink import okio.BufferedSource import okio.Socket as OkioSocket import okio.asOkioSocket import okio.buffer interface BufferedSocket : OkioSocket { override val source: BufferedSource override val sink: BufferedSinkCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 1.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
result = 31 * result + proxy.hashCode() result = 31 * result + socketAddress.hashCode() return result } /** * Returns a string with the URL hostname, socket IP address, and socket port, like one of these: * * * `example.com:80 at 1.2.3.4:8888` * * `example.com:443 via proxy [::1]:8888` * * This omits duplicate information when possible. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0)