cow chain server done.

This commit is contained in:
Chen Yufei
2013-10-30 00:30:05 +08:00
parent ef2bc9b070
commit 4d3ca5bc58
8 changed files with 168 additions and 77 deletions

View File

@@ -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
}