#
7b3e89c0 |
|
31-Oct-2022 |
Máximo Castañeda <antiswen@yahoo.es> |
PoorMan: some libhttpd fixes The last thttpd update was less than perfect. A bad format string was causing crashes on directory listings, and some of our changes were removed, like PoorMan's setting for directory listings, leaks and thread safety. Fixes: #17329 Change-Id: I84d9862a0ebd5492a2542cf9776462e7fe7dbe77 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5772 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
4a850ca7 |
|
28-Aug-2021 |
Coldfirex <sakison@gmail.com> |
PoorMan: update thttpd from 2.25b to 2.29 http://www.acme.com/software/thttpd/#releasenotes Compiled on 32 and 64bit, ran PoorMan, and verified it served webpage and shows logs correctly. Change-Id: I23fdf0f9910089aa8e24bb66ed7fb49b065b5577 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4404 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|
#
6011ce6c |
|
20-Dec-2020 |
Jeremy Visser <jeremyvisser@google.com> |
PoorMan: Add dual-stack IPv6 support This change adds dual-stack IPv6 support to the PoorMan web server, which will listen on all available IPv4 and IPv6 addresses and respond to both. This change also does some necessary plumbing to support the output of nicely-formatted IPv6 addresses for request logging. Change-Id: I0ce7691222f0233e2e098d67e6293b9e58d7486d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3539 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
4d881174 |
|
25-Feb-2017 |
Kevin Wojniak <kainjow@users.noreply.github.com> |
Fix client hang when HEAD request is sent to PoorMan If a HEAD request was sent to PoorMan, for example from curl ("curl --HEAD http://x.x.x.x") then the client would hang due to the connection never being closed. In PoorManServer::_Worker, after httpd_start_request() is called, a null file_address is used to detect when libhttpd has already sent a directory listing. In this situation, PoorMan assumes libhttpd already fully handled the request. However httpd_start_request() didn't properly set this flag for HEAD requests. In the if block for a null file_address, the file descriptor was incorrectly invalidated, which prevented the connection from closing. Fixing this revealed two more bugs. The first is libhttpd was not actually sending the http headers for HEAD directory listing requests. The second is PoorManServer would increment its hit count for HEAD directory listing requests. This change also refactors file_address to a more sensible name and type that reflects its use. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Fixes #13347.
|
#
385ee03b |
|
21-Aug-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Fix mixed indentation. This file uses a mix of tab styles, which gcc6 will warn about because it sees "misleading indentation". Fix the function where this happens. Fixes #12759.
|
#
3aeed660 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
7f4d1af4 |
|
04-Jan-2013 |
Sergei Reznikov <diver@gelios.net> |
Compilation fixes for x86_64. Added quite a few missing components to image: alert arp bc CortexAddOnHost CDPlayer CharacterMap DeskCalc Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces DataTranslations Media Printers ScreenSaver BSnow Cortex FontDemo OverlayImage Pairs cddb_daemon midi_server power_daemon print_server print_addon_server Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible libgame.so libmedia.so Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
|
#
a6f39df3 |
|
08-Dec-2012 |
Olivier Coursière <olivier.coursiere@laposte.net> |
Poorman : avoid a double free in ls method. Should fix #8617. Signed-off-by: Matt Madia <mattmadia@gmail.com>
|
#
a633338f |
|
26-Nov-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
Memory leak fix CID 5769
|
#
000fe088 |
|
04-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Ma Jie: Basically - make Poorman (the webserver) work. Libhttpd from Jef Poskanzer is providing the backend, but had to be adopted in some ways. Other issues in Poorman have been resolved. When testing the license integration, I stumbled over some AboutSystem bugs, basically clicking licenses would not open them. I fixed those in this patch, sorry for mixing that up. Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8! (This affects only the (C) glyph.) Thanks a lot for your awesome work on Poorman, it's really appreciated! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3aeed6607cd07762c0e709633c012b3a632dbad9 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
7f4d1af49dd1d67ecbf1d934eddd92cae7c4c558 |
|
04-Jan-2013 |
Sergei Reznikov <diver@gelios.net> |
Compilation fixes for x86_64. Added quite a few missing components to image: alert arp bc CortexAddOnHost CDPlayer CharacterMap DeskCalc Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces DataTranslations Media Printers ScreenSaver BSnow Cortex FontDemo OverlayImage Pairs cddb_daemon midi_server power_daemon print_server print_addon_server Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible libgame.so libmedia.so Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
|
#
a6f39df3f76c9b7b5d851803c6644c24c673c051 |
|
08-Dec-2012 |
Olivier Coursière <olivier.coursiere@laposte.net> |
Poorman : avoid a double free in ls method. Should fix #8617. Signed-off-by: Matt Madia <mattmadia@gmail.com>
|
#
a633338fbedcad32a50f709d567b0356692a068c |
|
26-Nov-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
Memory leak fix CID 5769
|
#
000fe088a79bbd17ce42078273c04b306967827f |
|
04-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Ma Jie: Basically - make Poorman (the webserver) work. Libhttpd from Jef Poskanzer is providing the backend, but had to be adopted in some ways. Other issues in Poorman have been resolved. When testing the license integration, I stumbled over some AboutSystem bugs, basically clicking licenses would not open them. I fixed those in this patch, sorry for mixing that up. Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8! (This affects only the (C) glyph.) Thanks a lot for your awesome work on Poorman, it's really appreciated! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|