bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33934] WebServer (v1.4.1) stops when getting malformed request


From: T.Somequare
Subject: [bug #33934] WebServer (v1.4.1) stops when getting malformed request
Date: Wed, 03 Aug 2011 05:49:56 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]