URL:
  <http://savannah.gnu.org/bugs/?33934>

                 Summary: WebServer (v1.4.1) stops when getting malformed
request
                 Project: GNUstep
            Submitted by: tsomeqdev
            Submitted on: 2011年08月03日 14時49分55秒
                Category: Libraries
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Dear maintainers.


I found the WebServer had crashed with an Exception when receiving bad
request.
The promot prints message "NAME:NSFileHandleOperationException REASON:read
already in progress" .


to reproduce this:
1. Start testWebserver. (using port 55555 for test here)
2. Type from other terminal on the same host like below.
---
$ telnet 127.0.0.1 55555
>Trying 127.0.0.1 ...
>Connected to 127.0.0.1 (127.0.0.1).
>Escape character is '^]'.
GET / HTTP/1.1

---
^ Keep waiting here. Only input "GET / HTTP/1.1¥n¥n" then stop typing. 


The exception is raised in code of file "WebServerConnection.m" (svn
rev:33581).
---
- (void) _doRead
{
    [handle readInBackgroundAndNotify]; /// <=== here
}
---                                                                           
    


Regards.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33934>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to