-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParameters.bmx
40 lines (38 loc) · 1.11 KB
/
Parameters.bmx
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
28
29
30
31
32
33
34
35
36
37
38
39
40
Import BRL.Socket
Import BRL.SocketStream
Import "thread_local_storage.c"
Extern
Function set_thread_parameters(parameters:ServeThreadParameters)
Function get_thread_parameters:ServeThreadParameters()
End Extern
Type ServeThreadParameters
Field ClientSocket:TSocket
Field ClientStream:TStream
Field Timeout:Long
Field PipeTimeout:Long
Field PayloadTimeout:Long
Field ThreadStartupMS:ULong
Field ThreadLastActivityMS:ULong
Field EncodingMode:String
Field ConnectionID:ULong
Field BytesPerCycle:UInt
Field EnableHostnameLookup:Int
Field EnableCompression:Int
Field CompressionSizeLimit:UInt
Field EnableCaching:Int
Field CachingLocation:String
Field RequestPayloadCompressionAllowed:Int
Field RequestPayloadEncodingMode:String
Field RequestPayloadLengthLimit:Size_T
Field FilesizeAfterUpdateLimit:Long
Field ConnectionFlags:String[]
Field ExpectsContinue:Int
Field KeepAliveAllowed:Int
Field KeepAliveEnabled:Int
Field WebDAVAllowed:Int
Field UploadsAllowed:Int
Field DeletesAllowed:Int
Field MovesAllowed:Int
Field RangesAllowed:Int
Field EnableEncZNFS:Int
End Type