httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33668] New: - (ANSI C) Cgi & fork
Date Mon, 21 Feb 2005 10:55:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33668>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33668

           Summary: (ANSI C) Cgi & fork
           Product: Apache httpd-1.3
           Version: 1.3.31
          Platform: PC
               URL: http://slavon.net/download/radio_indexer.tar.gz
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vbadalian@rbc.ru
                CC: vbadalian@rbc.ru


Sorry for my english.

Have CGI - http://slavon.net/download/radio_indexer.tar.gz

// If i put 
puts("Content-type: text/html\r\n\r\n");
// before 
for (i=0; i<RS_NUM; i++)
if(fork() == 0){
...
exit(0)
}

- All childrens puts "Content-type: text/html"
If i run CGI in shell - Only parent puts "Content-type: text/html". 
I fix this problem - move puts after fork, but it is bug of apache?

Thanks for you doing =)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message