atua: now properly restrict selector length

FossilOrigin-Name: 4c6a2e8c09b35f9e14c3d382b7819df9e0c2033f0ffa5b18986056066a5c1a10
This commit is contained in:
crc 2019-01-02 16:38:33 +00:00
parent 352a53abfe
commit b125b23e1e

View file

@ -64,7 +64,7 @@ it checks for. This suffices for a Gopher server though.
[ ASCII:CR eq? ] [ ASCII:LF eq? ] [ ASCII:HT eq? ] tri or or ;
:s:get (a-)
buffer:set
[ c:get dup buffer:add eol? not ] while ;
#0 [ n:inc c:get dup buffer:add eol? not over #255 lt? and ] while drop ;
~~~
# Gopher Namespace