|
|
@ -72,7 +72,6 @@ func New() *Mux { |
|
|
return &mux |
|
|
return &mux |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Serve a request with the given Mux. Satisfies the http.Handler interface.
|
|
|
|
|
|
func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
|
|
func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
|
|
stack := m.mStack.alloc() |
|
|
stack := m.mStack.alloc() |
|
|
defer m.mStack.release(stack) |
|
|
defer m.mStack.release(stack) |
|
|
|