- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for protocolString (0.22 sec)
-
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
while (true) { var socket: Socket? = null try { socket = serverSocket.accept() val sslSocket = doSsl(socket) val protocolString = Platform.get().getSelectedProtocol(sslSocket) val protocol = if (protocolString != null) get(protocolString) else null if (protocol != Protocol.HTTP_2) { throw ProtocolException("Protocol $protocol unsupported") } val connection =
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
src/net/internal/socktest/switch_stub.go
// Sockets maps a socket descriptor to the status of socket. type Sockets map[int]Status func familyString(family int) string { return "<nil>" } func typeString(sotype int) string { return "<nil>" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 455 bytes - Viewed (0) -
src/net/internal/socktest/switch_posix.go
s = "seqpacket" default: s = fmt.Sprintf("%d", sotype&0xff) } if flags := uint(sotype) & ^uint(0xff); flags != 0 { s += fmt.Sprintf("|%#x", flags) } return s } func protocolString(proto int) string { switch proto { case 0: return "default" case syscall.IPPROTO_TCP: return "tcp" case syscall.IPPROTO_UDP: return "udp" default: return fmt.Sprintf("%d", proto) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1K bytes - Viewed (0) -
src/net/internal/socktest/switch.go
SocketErr error // error status of socket by SO_ERROR } func (so Status) String() string { return fmt.Sprintf("(%s, %s, %s): syscallerr=%v socketerr=%v", familyString(so.Cookie.Family()), typeString(so.Cookie.Type()), protocolString(so.Cookie.Protocol()), so.Err, so.SocketErr) } // A Stat represents a per-cookie socket statistics. type Stat struct { Family int // address family Type int // socket type Protocol int // protocol number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
} sslSocket.startHandshake() if (protocolNegotiationEnabled) { val protocolString = Platform.get().getSelectedProtocol(sslSocket) protocol = when { protocolString != null -> Protocol.get(protocolString) else -> Protocol.HTTP_1_1 } Platform.get().afterHandshake(sslSocket) } else {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0)