-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.go
More file actions
27 lines (26 loc) · 754 Bytes
/
const.go
File metadata and controls
27 lines (26 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package haproxy
// https://cbonte.github.io/haproxy-dconv/2.0/configuration.html#8.5
const (
TerminationClientAbort = 'C'
TerminationServerAbort = 'S'
TerminationDeny = 'P'
TerminationLocal = 'L'
TerminationExhausted = 'R'
TerminationInternalError = 'I'
TerminationServerGoingDown = 'D'
TerminationActiveUp = 'U'
TerminationAdmin = 'K'
TerminationClientWait = 'c'
TerminationServerWait = 's'
TerminationNone = '-'
)
const (
SessionCloseRequest = 'R'
SessionCloseQueue = 'Q'
SessionCloseConnection = 'C'
SessionCloseHeaders = 'H'
SessionCloseData = 'D'
SessionCloseLast = 'L'
SessionCloseTarpit = 'T'
SessionCloseNone = '-'
)