mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 15:09:05 +00:00
httphi.Handle rejects unsupported protocols
This commit is contained in:
@@ -20,7 +20,8 @@ import (
|
||||
const reconfigureWait = 10 * time.Millisecond
|
||||
|
||||
var (
|
||||
errNoRequestProto = errors.New("httphi: request line with no HTTP version")
|
||||
errNoRequestProto = errors.New("httphi: request line with no HTTP version")
|
||||
errBadRequestProto = errors.New("httphi: unsupported HTTP version in request line")
|
||||
errBusyExchanges = errors.New("httphi: exchanges still serving, cannot reuse their buffers")
|
||||
errRouterTornDown = errors.New("httphi: router torn down, configure it before serving")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user