-/* $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
* 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 $';
/*
* 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) {
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