bug-cgicc
[
Top
][
All Lists
]
Advanced
[Date Prev][
Date Next
][Thread Prev][
Thread Next
][
Date Index
][
Thread Index
]
[bug-cgicc] cgicc bug when use fcgi and cgicc post
From
:
902490
Subject
:
[bug-cgicc] cgicc bug when use fcgi and cgicc post
Date
:
Sat, 22 Oct 2016 19:00:26 +0800
hi,when i post data to cgi,the process will exit,but get data all right.
wait for your help,thanks
env yum install -y fcgi-devel
spawn-fcgi *.cpp -o 1.cgi -lfcgi -lcgicc
#include "fcgi_stdio.h"
#include "cgicc/CgiDefs.h"
#include "cgicc/Cgicc.h"
#include "cgicc/HTTPHTMLHeader.h"
#include "cgicc/HTMLClasses.h"
#include <iostream>
#include <cstdlib>
#include <string>
#include <sys/time.h>
using namespace std;
using namespace cgicc;
int main() {
while(FCGI_Accept()>=0) {
FCGI_printf("Content-type:text/html;charset=utf-8\n\n");
Cgicc cgi;
FCGI_printf("%s","aaa");
}
return 0;
}
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[bug-cgicc] cgicc bug when use fcgi and cgicc post
,
902490
<=
Re: [bug-cgicc] cgicc bug when use fcgi and cgicc post
,
Stephen F. Booth
,
2016/10/24
Next by Date:
Re: [bug-cgicc] cgicc bug when use fcgi and cgicc post
Next by thread:
Re: [bug-cgicc] cgicc bug when use fcgi and cgicc post
Index(es):
Date
Thread