[haiku-bugs] Re: [Haiku] #13347: PoorMan hangs for HEAD request

  • From: "kainjow" <trac@xxxxxxxxxxxx>
  • Date: Sun, 26 Feb 2017 19:07:19 -0000

#13347: PoorMan hangs for HEAD request
------------------------------------+----------------------------
   Reporter:  kainjow               |      Owner:  nobody
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Applications/PoorMan  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  1                     |   Platform:  All
------------------------------------+----------------------------

Comment (by kainjow):

 Yes, the use of a pointer as a bool is a questionable, I just didn't want
 to mess with refactoring yet. The libhttpd code looks like it was hacked
 to death to make it work. An ideal refactor would be to update libhttpd to
 latest verison, scrap all unnecessary changes, and handle directory
 listings in PoorManServer.

 Hits are still only incremented for normal 200 requests, whether it's from
 a file or a directory listing. Invalid or HEAD/POST requests do not change
 it.

 Actually, looks like it's not all the way fixed yet. Still hangs for a 200
 directory listing request. I'll fix it and provide a more in-depth commit
 message.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13347#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: