ry / ebb fork watch download tarball
public this repo is viewable by everyone
Description: web server
Homepage: http://ebb.rubyforge.org
Clone URL: git://github.com/ry/ebb.git
reduce number of states in state machine
Ryan Dahl (author)
2 months ago
commit  cadb926f1efe9536a00768dadce41d83190cb3e7
tree    3ccb085745761cc2eb694985d5ec932fc0ad9dc1
parent  4676c11c4e38bf25e5a231af0bf13e99f2d70bb5
...
150
151
152
153
 
154
155
156
...
150
151
152
 
153
154
155
156
0
@@ -150,7 +150,7 @@
0
   field_value = any* >start_value %write_value;
0
 
0
   message_header = field_name ":" " "* field_value :> CRLF;
0
- content_length = "Content-Length:"i " "* (digit{1,12} >mark %content_length) :> CRLF;
0
+ content_length = "Content-Length:"i " "* (digit+ >mark %content_length) :> CRLF;
0
 
0
   Request = Request_Line (content_length | message_header )* ( CRLF @done );
0
 

Comments

    No one has commented yet.