mirror of
https://github.com/zhigang1992/cow.git
synced 2026-04-30 18:32:31 +08:00
cow chain server done.
This commit is contained in:
@@ -81,7 +81,7 @@ func (cp *ConnPool) Get(hostPort string) (sv *serverConn) {
|
||||
func (cp *ConnPool) Put(sv *serverConn) {
|
||||
// Multiplexing connections.
|
||||
switch sv.Conn.(type) {
|
||||
case httpConn:
|
||||
case httpConn, cowConn:
|
||||
putConnToChan(sv, cp.muxConn, "mux")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user