[PATCH] httpd - User defined error pages

Pierre Métras genepi at sympatico.ca
Mon Aug 20 13:39:04 UTC 2007


Hi,

Here is my patch to support user defined error pages only in httpd, applied to 
the current SVN version. There were a lot of refactoring of httpd.c code in 
the last days and it's becoming more and more difficult for me to track the 
changes.

make bloatcheck
function                                             old     new   delta
parse_conf                                          1170    1367    +197
send_headers                                         477     569     +92
httpResponseNames                                    108     144     +36
send_file_and_exit                                   338     352     +14
handle_incoming_and_exit                            1810    1812      +2
.rodata                                             4921    4825     -96
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/1 up/down: 341/-96)           Total: 245 bytes


-- Pierre Métras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.error_pages
Type: text/x-diff
Size: 8910 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070820/5847c3d1/attachment-0002.bin 


More information about the busybox mailing list