- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 324 for handlerIn (0.1 sec)
-
internal/grid/muxserver.go
} }() // Data inbound to the handler var handlerIn chan []byte if inboundCap > 0 { m.inbound = make(chan []byte, inboundCap) handlerIn = make(chan []byte, 1) go func(inbound chan []byte) { wg.Wait() defer xioutil.SafeClose(handlerIn) m.handleInbound(c, inbound, handlerIn) }(m.inbound) } // Fill outbound block.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
internal/grid/handlers.go
"github.com/tinylib/msgp/msgp" ) //go:generate stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go $GOFILE // HandlerID is a handler identifier. // It is used to determine request routing on the server. // Handlers can be registered with a static subroute. // Do NOT remove or change the order of existing handlers. const ( // handlerInvalid is reserved to check for uninitialized values.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/Handler.java
synchronized (PROTOCOL_HANDLERS) { URLStreamHandler handler = (URLStreamHandler) PROTOCOL_HANDLERS.get(protocol); if (handler != null) return handler; if (factory != null) { handler = factory.createURLStreamHandler(protocol); } if (handler == null) { String path = System.getProperty(HANDLER_PKGS_PROPERTY);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
synchronized ( PROTOCOL_HANDLERS ) { URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol); if ( handler != null ) return handler; if ( factory != null ) { handler = factory.createURLStreamHandler(protocol); } if ( handler == null ) { String path = System.getProperty(HANDLER_PKGS_PROPERTY);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.9K bytes - Viewed (0) -
internal/grid/grid_test.go
r := RemoteErr(req.String) return nil, &r } errFatal(h1.Register(local, handler1)) errFatal(h2.Register(local, handler2)) errFatal(h1.Register(remote, handler1)) errFatal(h2.Register(remote, handler2)) // local to remote connection remoteConn := local.Connection(remoteHost) const testPayload = "Hello Grid World!" start := time.Now() req := testRequest{Num: 1, String: testPayload}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/crossdomain-xml-handler.go
// policy file that grants access to the source domain, allowing the client to continue the transaction. func setCrossDomainPolicyMiddleware(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { cxml := crossDomainXML if globalServerCtxt.CrossDomainXML != "" { cxml = globalServerCtxt.CrossDomainXML }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 18 06:42:40 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/grid/handlers_string.go
func (i HandlerID) String() string { if i >= HandlerID(len(_HandlerID_index)-1) { return "HandlerID(" + strconv.FormatInt(int64(i), 10) + ")" } return _HandlerID_name[_HandlerID_index[i]:_HandlerID_index[i+1]]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/grid/manager.go
if m.handlers.hasAny(id) && !id.isTestHandler() { return ErrHandlerAlreadyExists } m.handlers.streams[id] = &h return nil } subID := makeSubHandlerID(id, h.Subroute) if m.handlers.hasSubhandler(subID) && !id.isTestHandler() { return ErrHandlerAlreadyExists } m.handlers.subStreams[subID] = &h // Copy so clients can also pick it up for other subpaths. m.handlers.subStreams[makeZeroSubHandlerID(id)] = &h
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/https/Handler.java
* capabilities to the default HTTPS handler. This acts as a wrapper, * handling authentication and passing control to the underlying * stream handler. * * @deprecated {@link NtlmHttpURLConnection} is broken by design. */ @Deprecated public class Handler extends jcifs.http.Handler { /** * The default HTTPS port (<code>443</code>). */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.8K bytes - Viewed (0) -
internal/grid/README.md
## Handlers & Routes Handlers have a predefined Handler ID. In addition, there can be several *static* subroutes used to differentiate between different handlers of the same ID. A subroute on a client must match a subroute on the server. So routes cannot be used for dynamic routing, unlike HTTP.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0)