Creating extension for ZnConstants.
This commit is contained in:
parent
6433da508a
commit
c9b214f633
10
src/MiniDocs/ZnConstants.extension.st
Normal file
10
src/MiniDocs/ZnConstants.extension.st
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Extension { #name : #ZnConstants }
|
||||||
|
|
||||||
|
{ #category : #'*MiniDocs' }
|
||||||
|
ZnConstants class >> maximumLineLength [
|
||||||
|
"Return the maximum line length to accept.
|
||||||
|
Used by ZnLineReader and thus for reading request/status lines as well as headers.
|
||||||
|
This helps to protect us from malicious content."
|
||||||
|
|
||||||
|
^ 5096 "8192"
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user