We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 866d0dd commit f6d256eCopy full SHA for f6d256e
server.go
@@ -228,11 +228,11 @@ func (srv *Server) Serve(l net.Listener) error {
228
}
229
return e
230
231
- go srv.handleConn(conn)
+ go srv.HandleConn(conn)
232
233
234
235
-func (srv *Server) handleConn(newConn net.Conn) {
+func (srv *Server) HandleConn(newConn net.Conn) {
236
if srv.ConnCallback != nil {
237
cbConn := srv.ConnCallback(newConn)
238
if cbConn == nil {
session_test.go
@@ -23,7 +23,7 @@ func (srv *Server) serveOnce(l net.Listener) error {
23
"session": DefaultSessionHandler,
24
"direct-tcpip": DirectTCPIPHandler,
25
26
- srv.handleConn(conn)
+ srv.HandleConn(conn)
27
return nil
28
29
0 commit comments