*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 7 Jul 2005 20:55:53 +0000 (20:55 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 7 Jul 2005 20:55:53 +0000 (20:55 +0000)
tests/js-test/js/httpd/httpd.js

index 7cb867f..ae76b7f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: httpd.js,v 1.28 2005/07/07 20:48:41 mmondor Exp $ */
+/* $Id: httpd.js,v 1.29 2005/07/07 20:55:53 mmondor Exp $ */
 
 /*
  * Copyright (c) 2005, Matthew Mondor
@@ -90,7 +90,7 @@ eval(file_read('root.js'));           /* Root object for virtual chroot(2) */
  * Server identification
  */
 SERVER_VERSION                 = 'mmondor_js_httpd/0.0.1 (NetBSD)';
-SERVER_CVSID   = '$Id: httpd.js,v 1.28 2005/07/07 20:48:41 mmondor Exp $';
+SERVER_CVSID   = '$Id: httpd.js,v 1.29 2005/07/07 20:55:53 mmondor Exp $';
 
 
 
@@ -615,9 +615,6 @@ FD.prototype.parseRequest = function(time)
 
        /*
         * Parse header for interesting lines.
-        * XXX Header lines may be multiple, like for mail messages. ?
-        * If so, make the system take this into account!
-        * I.E. See rfc2109 for examples about Cookie:
         */
        if (valid) {
                for (i in lines) {
@@ -1151,15 +1148,6 @@ function main() {
                try {
                        fd = new FD();
                        fd.socket(FD.AF_INET, FD.SOCK_STREAM, 0);
-                       /*
-                        * XXX How comes bind(2) fails if I don't first print
-                        * out the address!?  An odd bug it seems.
-                        * Like if listen[i] first needs to be
-                        * referenced/instanciated...
-                        * I then get error "Address family not supported by
-                        * protocol family".
-                        */
-                       err.put(uneval(listen[i]) + "\n");
                        fd.bind(listen[i].address, listen[i].port);
                        /*
                         * XXX Must either fix netbsd kernel bug