[BusyBox 0000608]: The httpd doesn’t work properly on debug mode.

bugs at busybox.net bugs at busybox.net
Tue Dec 20 06:07:55 UTC 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=608 
====================================================================== 
Reported By:                flowtide
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   608
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             12-19-2005 22:07 PST
Last Modified:              12-19-2005 22:07 PST
====================================================================== 
Summary:                    The httpd doesn’t work properly on debug mode.
Description: 
Without fork() using handleIncoming() function several times doesn't work
except first request.

Because global variable config->httpd_found.found_moved_temporarily was
set during first request and remained.
So next request will be failed always because below line is always true.
if(config->httpd_found.found_moved_temporarily) {
	sendHeaders(HTTP_MOVED_TEMPORARILY);
}

So put the line before exiting handleIncoming() function
config->httpd_found.found_moved_temporarily = NULL;


====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-19-05 22:07  flowtide       New Issue                                    
12-19-05 22:07  flowtide       Status                   new => assigned     
12-19-05 22:07  flowtide       Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list