=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Doc/httpd-asir.sm1,v retrieving revision 1.21 retrieving revision 1.24 diff -u -p -r1.21 -r1.24 --- OpenXM/src/kan96xx/Doc/httpd-asir.sm1 2002/10/17 13:40:28 1.21 +++ OpenXM/src/kan96xx/Doc/httpd-asir.sm1 2002/10/24 02:30:15 1.24 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-asir.sm1,v 1.20 2002/10/01 13:00:33 takayama Exp $ +%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-asir.sm1,v 1.23 2002/10/24 02:12:34 takayama Exp $ %% http server by sm1 [(parse) (httpd.sm1) pushfile] extension pop @@ -70,9 +70,9 @@ def { [(sm1.socket) (select) [httpd.server.fd 0 get -1]] extension %% wait for ever - [(sm1.socket) (readBlock) [httpd.server.fd 0 get ]] extension /ff set - ff length 0 eq { - (connection is closed.) message + [(sm1.socket) (readHTTP) [httpd.server.fd 0 get ]] extension /ff set + ff tag 0 eq { + (connection is closed.) message exit } { (------------ start ----------------------) message @@ -90,6 +90,7 @@ def ( ) message httpd.serial 0 eq { /httpd.com httpd.initialization def + /httpd.textarea.valid 1 def } { } ifelse httpd.sendFile tag 0 eq { } {