ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/tcp.ext
(Generate patch)

Comparing deliantra/server/ext/tcp.ext (file contents):
Revision 1.21 by root, Tue Oct 30 17:07:50 2012 UTC vs.
Revision 1.22 by root, Tue Oct 30 17:32:47 2012 UTC

41 $ns->inbuf_append ($buf); 41 $ns->inbuf_append ($buf);
42 42
43 } elsif ($buf =~ /^GET / && defined &ext::http::server) { # http or websocket 43 } elsif ($buf =~ /^GET / && defined &ext::http::server) { # http or websocket
44 undef $w; 44 undef $w;
45 45
46 &ext::http::server ($fh, $buf); 46 &ext::http::server ($id, $fh, $buf);
47 47
48 } elsif (length $buf >= $MAX_DETECT) { # unable to detect protocol 48 } elsif (length $buf >= $MAX_DETECT) { # unable to detect protocol
49 undef $w; 49 undef $w;
50 50
51 cf::info "$id: protocol detection error\n"; 51 cf::info "$id: protocol detection error\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines