<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.gcc.cgicc.general">
    <title>gmane.comp.gcc.cgicc.general</title>
    <link>http://blog.gmane.org/gmane.comp.gcc.cgicc.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/386"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/385"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/384"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/383"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/382"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/381"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/380"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/379"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/378"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/377"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/376"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/375"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/374"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/373"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/372"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/371"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/370"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/386">
    <title>Re: cgi("name");</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/386</link>
    <description>&lt;pre&gt;
As in:

The cgicc::FormEntry class provides methods for extracting data 
as numbers, removing line breaks, etc. If you are not interested 
in performing any data validation or modification, but simply 
want to access a string representaion of the data, the simplest 
case is streamlined:

std::string name = cgi("name");


Maybe you are looking at an earlier version as I pointed you to 
the reference for said operator().

Hope it helps.


/Allan
&lt;/pre&gt;</description>
    <dc:creator>Allan Wind</dc:creator>
    <dc:date>2012-03-27T01:11:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/385">
    <title>Re: cgi("name");</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/385</link>
    <description>&lt;pre&gt;it is in the http://www.gnu.org/software/cgicc/doc/cgicc_tutorial.html
I look up the constructs,and didn't the usage.and there isn't a operator()
is the cgi class....

2012/3/27 Allan Wind &amp;lt;allan_wind&amp;lt; at &amp;gt;lifeintegrity.com&amp;gt;

_______________________________________________
help-cgicc mailing list
help-cgicc&amp;lt; at &amp;gt;gnu.org
https://lists.gnu.org/mailman/listinfo/help-cgicc
&lt;/pre&gt;</description>
    <dc:creator>hang yan</dc:creator>
    <dc:date>2012-03-27T00:01:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/384">
    <title>Re: cgi("name");</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/384</link>
    <description>&lt;pre&gt;
What is cgi?  If an instance of cgicc::Cgicc then it's invoking:

std::string operator() (const std::string &amp;amp;name) const
 Find a radio button in a radio group, or a selected list 
item

&amp;lt;http://www.gnu.org/software/cgicc/doc/classcgicc_1_1Cgicc.html&amp;gt; 
is where you find the reference.


/Allan
&lt;/pre&gt;</description>
    <dc:creator>Allan Wind</dc:creator>
    <dc:date>2012-03-26T19:47:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/383">
    <title>cgi("name");</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/383</link>
    <description>&lt;pre&gt;std::string name = cgi("name");
I found it in the tutorial.but i don't understant how it workes.
_______________________________________________
help-cgicc mailing list
help-cgicc&amp;lt; at &amp;gt;gnu.org
https://lists.gnu.org/mailman/listinfo/help-cgicc
&lt;/pre&gt;</description>
    <dc:creator>hang yan</dc:creator>
    <dc:date>2012-03-26T08:56:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/382">
    <title>Re: howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/382</link>
    <description>&lt;pre&gt;Igor Franchuk wrote, On 02/12/12 17:08:

Thx for the offer. In the mean time I've found the right compile-link commands and libs:
Under Linux (here Debian) one should install the following packages:
   libcgicc-dev
   libcgicc-doc
   libfcgi-dev

# cd /usr/share/doc/libcgicc-doc/examples/contrib/
# ls -l
-rw-r--r-- 1 root root 1870 Nov 14  2009 FCgiIO.cpp
-rw-r--r-- 1 root root 1476 Nov 14  2009 FCgiIO.h.gz
-rw-r--r-- 1 root root  377 Nov 14  2009 README
-rw-r--r-- 1 root root 2546 Nov 14  2009 fcgi-test.cpp
-rw-r--r-- 1 root root 2879 Nov 14  2009 nph-hello.cpp
-rw-r--r-- 1 root root 2415 Nov 14  2009 nph-login.cpp.gz

Build:
   g++ -o fcgi-test.cgi  fcgi-test.cpp FCgiIO.cpp -lfcgi++ -lfcgi -lcgicc

Now it compiles and links fine.
But I have not tested it yet as I'm concentrating myself on SCGI.
Maybe the above info can be useful for others interested in FastCGI and cgicc.
&lt;/pre&gt;</description>
    <dc:creator>U.Mutlu</dc:creator>
    <dc:date>2012-02-12T21:26:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/381">
    <title>Re: howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/381</link>
    <description>&lt;pre&gt;Hello U.Mutlu,

Saturday, February 11, 2012, 10:42:27 PM, you wrote:

UM&amp;gt; I found fcgi-test.cpp in the archive of cgicc.
UM&amp;gt; Building fcgi-test.cpp brings linker errors, it is also
UM&amp;gt; commented out in the Makefile of cgicc, I guess because of the link errors.

If you're still interested you could copy paste the errors.
Many years ago I had no problems linking fcgi-test.cpp

UM&amp;gt; Never mind, I found another, much simpler, solution: use SCGI instead of FastCGI.
UM&amp;gt; My first tests with mod_scgi in nginx are positive (using a test SCGIserver of my own
UM&amp;gt; (a simple socket server which accepts connections, reads all sent data, and sends back
UM&amp;gt; a test answer).
UM&amp;gt; I think cgicc should be usable for SCGI clients too, but haven't tested it yet.
UM&amp;gt; And it's a matter of taste/choice whether one wants to start external clients processes (ie. programms/apps)
UM&amp;gt; or rather wants to handle the job inside the SCGIserver.

It's far much reliable to start external clients than to rely on
running anything inside of any server (php included). All depends on
the task. If you want something rock solid - do not run it inside of HTTP server.
Apache itself has many subtle problems with threads, forks, DOSes, I/O read writes,
keep alives etc.

We've been using Fast CGI servers for years and years, it's a
very reliable and fast solution.

UM&amp;gt; To make a long story short: for me SCGI works and it's sufficient for my requirements.
UM&amp;gt; If someone asks me which way to go I would recommend use SCGI instead of FastCGI,
UM&amp;gt; because SCGI is much simpler, just compare the protocol specs:
UM&amp;gt; http://python.ca/scgi/protocol.txt
UM&amp;gt; http://www.fastcgi.com/devkit/doc/fcgi-spec.html

If you're using fastcgi or scgi correctly you never have to handle
the low level underling protocol. Everything is the same as you're using CGI
application. You just don't have to forget that you're running a
service or daemon it never quits.

UM&amp;gt; _______________________________________________
UM&amp;gt; help-cgicc mailing list
UM&amp;gt; help-cgicc&amp;lt; at &amp;gt;gnu.org
UM&amp;gt; https://lists.gnu.org/mailman/listinfo/help-cgicc



&lt;/pre&gt;</description>
    <dc:creator>Igor Franchuk</dc:creator>
    <dc:date>2012-02-12T16:08:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/380">
    <title>Re: howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/380</link>
    <description>&lt;pre&gt;need a fastcgi wrapper, 
especially on windows or other cross platforms solution.

e.g, the python flup (django used).

but, any else ? 

 
 
------------------ Original ------------------
From:  "Igor Franchuk"&amp;lt;sprog&amp;lt; at &amp;gt;online.ru&amp;gt;;
Date:  Sat, Feb 11, 2012 09:29 PM
To:  "U.Mutlu"&amp;lt;for-gmane&amp;lt; at &amp;gt;mutluit.com&amp;gt;; 
Cc:  "help-cgicc"&amp;lt;help-cgicc&amp;lt; at &amp;gt;gnu.org&amp;gt;; 
Subject:  Re: [help-cgicc] howto use fcgi-test.cpp?

 
Hello U.Mutlu,

Saturday, February 11, 2012, 4:50:59 AM, you wrote:

UM&amp;gt; Hi,
UM&amp;gt; can someone please tell me how to test the fcgi-test.cpp demo?
UM&amp;gt; What else is needed?
UM&amp;gt; I'm using the nginx webserver.

To assemble you would need:

cgicc
http://www.gnu.org/software/cgicc/

libfcgi
http://www.fastcgi.com/drupal/

To run:

If you're planning to run fcgi-test.cpp with Apache -
mod_fastcgi
I'm not sure how fastcgi is implemented in nginx, but
something similar is sure there.



&lt;/pre&gt;</description>
    <dc:creator>document</dc:creator>
    <dc:date>2012-02-11T13:54:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/379">
    <title>Re: howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/379</link>
    <description>&lt;pre&gt;I have the same question, some one please ?
 
 
------------------ Original ------------------
From: "U.Mutlu"; 
Date: 2012年2月11日(星期六) 上午8:50
To: "help-cgicc"; 
Subject: [help-cgicc] howto use fcgi-test.cpp?

 
Hi,
can someone please tell me how to test the fcgi-test.cpp demo?
What else is needed?
I'm using the nginx webserver.


_______________________________________________
help-cgicc mailing list
help-cgicc&amp;lt; at &amp;gt;gnu.org
https://lists.gnu.org/mailman/listinfo/help-cgicc_______________________________________________
help-cgicc mailing list
help-cgicc&amp;lt; at &amp;gt;gnu.org
https://lists.gnu.org/mailman/listinfo/help-cgicc
&lt;/pre&gt;</description>
    <dc:creator>document</dc:creator>
    <dc:date>2012-02-11T01:24:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/378">
    <title>Re: howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/378</link>
    <description>&lt;pre&gt;Igor Franchuk wrote, On 02/11/12 14:29:

I found fcgi-test.cpp in the archive of cgicc.
Building fcgi-test.cpp brings linker errors, it is also
commented out in the Makefile of cgicc, I guess because of the link errors.

Never mind, I found another, much simpler, solution: use SCGI instead of FastCGI.
My first tests with mod_scgi in nginx are positive (using a test SCGIserver of my own
(a simple socket server which accepts connections, reads all sent data, and sends back
a test answer).
I think cgicc should be usable for SCGI clients too, but haven't tested it yet.
And it's a matter of taste/choice whether one wants to start external clients processes (ie. programms/apps)
or rather wants to handle the job inside the SCGIserver.

To make a long story short: for me SCGI works and it's sufficient for my requirements.
If someone asks me which way to go I would recommend use SCGI instead of FastCGI,
because SCGI is much simpler, just compare the protocol specs:
http://python.ca/scgi/protocol.txt
http://www.fastcgi.com/devkit/doc/fcgi-spec.html
&lt;/pre&gt;</description>
    <dc:creator>U.Mutlu</dc:creator>
    <dc:date>2012-02-11T18:42:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/377">
    <title>Re: howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/377</link>
    <description>&lt;pre&gt;Hello U.Mutlu,

Saturday, February 11, 2012, 4:50:59 AM, you wrote:

UM&amp;gt; Hi,
UM&amp;gt; can someone please tell me how to test the fcgi-test.cpp demo?
UM&amp;gt; What else is needed?
UM&amp;gt; I'm using the nginx webserver.

To assemble you would need:

cgicc
http://www.gnu.org/software/cgicc/

libfcgi
http://www.fastcgi.com/drupal/

To run:

If you're planning to run fcgi-test.cpp with Apache -
mod_fastcgi
I'm not sure how fastcgi is implemented in nginx, but
something similar is sure there.



&lt;/pre&gt;</description>
    <dc:creator>Igor Franchuk</dc:creator>
    <dc:date>2012-02-11T13:29:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/376">
    <title>howto use fcgi-test.cpp?</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/376</link>
    <description>&lt;pre&gt;Hi,
can someone please tell me how to test the fcgi-test.cpp demo?
What else is needed?
I'm using the nginx webserver.
&lt;/pre&gt;</description>
    <dc:creator>U.Mutlu</dc:creator>
    <dc:date>2012-02-11T00:50:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/375">
    <title>Re: help cgi</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/375</link>
    <description>&lt;pre&gt;
First hit on google for "browser force save link":
&amp;lt;http://www.boutell.com/newfaq/creating/forcedownload.html&amp;gt;


/Allan
&lt;/pre&gt;</description>
    <dc:creator>Allan Wind</dc:creator>
    <dc:date>2011-11-04T16:21:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/374">
    <title>help cgi</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/374</link>
    <description>&lt;pre&gt;Hi,
 
I have a CGI which fetch data from database and create a .cert file. how can I save it on client system.

Thanks.
 
Regards,
Mostafa Rezvani_______________________________________________
help-cgicc mailing list
help-cgicc&amp;lt; at &amp;gt;gnu.org
https://lists.gnu.org/mailman/listinfo/help-cgicc
&lt;/pre&gt;</description>
    <dc:creator>mostafa rezvani</dc:creator>
    <dc:date>2011-11-03T08:07:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/373">
    <title>about CgiEnvironment and POSTDATA when usingmultiplexed FastCgi</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/373</link>
    <description>&lt;pre&gt;In the CgiEnvironment constructor, it looks like it attempts to read all
of stdin.
FastCgi, however, chunks the stdin packets.

1) Is the read function, as defined in a subclass bridging a
multiplexing FastCgi with Cgicc, supposed to block until there
everything can be read, as done in the official FastCgi SDK's
FCGX_GetStr(FCGX_Stream*, char*, int)?
Or use EAGAIN / exceptions and wrap input-&amp;gt;read in a for(;;)?
I'm using another FastCgi class because the fact that I'm threading
the processing means that multiplexing is the way to go to unleash the
performance of parallelism, and FCGX_* is not multiplexing-safe.
Note: the FastCgi instance class basically calls
std::string::append(input_buffer.end(), stdin_data, stdin_len). 
2) Is there an ability to limit the size of POSTDATA by using a function
hook? The non-virtuality of CgiEnvironment implies that implementing
this would require patch &amp;amp;&amp;amp; make &amp;amp;&amp;amp; sudo make install.

Note: I am not on the mailinglist. CC me when needed.
&lt;/pre&gt;</description>
    <dc:creator>Andrey Vul</dc:creator>
    <dc:date>2010-12-21T09:58:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/372">
    <title>Re: newbie question, help heeded</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/372</link>
    <description>&lt;pre&gt;
cut

Hi Eduard,

just enumerate envp array like this:

static string penv(const char * const * envp)
{
    string retValue = "&amp;lt;PRE&amp;gt;\n";
    for ( ; *envp; ++envp)
    {
        retValue += *envp;
retValue += "\n";
    }
    retValue += "&amp;lt;/PRE&amp;gt;\n";
return retValue;
}

string environmentData = penv(request.envp);


With best regards,
Pavel Korshikov
http://www.itreport.eu
&lt;/pre&gt;</description>
    <dc:creator>Pavel Korshikov</dc:creator>
    <dc:date>2010-12-22T21:25:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/371">
    <title>Cross building cgicc, getElements() app link error</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/371</link>
    <description>&lt;pre&gt;Hello,
I built cgicc 3.2.8 using 2009q1 CodeSourcery ARM tools in
OpenEmbedded which built fine.  I was able to build and run the app
code below, but when I enable the getElements() section, I get a
linker error:
  hello.cpp:(.text+0x198): undefined reference to
`cgicc::Cgicc::getElements() const'

, which seems odd since getElements) is defined as inline in
cgicc/Cgicc.h.  I built the same app for x86 using g++ 4.4.1 and it
linked and ran fine.  Not sure if this is an issue with g++ or cgicc,
or can be patched in cgicc.  Anyone see this before?

Thanks!
,
John


int main(int argc, char **argv)
{
    Cgicc cgi;
    cout &amp;lt;&amp;lt; HTTPHTMLHeader() &amp;lt;&amp;lt; endl;
    form_iterator name = cgi.getElement("name");
    //if(name != cgi.getElements().end()) {
    //    cout &amp;lt;&amp;lt; "Your name: " &amp;lt;&amp;lt; **name &amp;lt;&amp;lt; endl;
    //}

    return 0;
}
&lt;/pre&gt;</description>
    <dc:creator>John Faith</dc:creator>
    <dc:date>2010-08-31T17:17:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/370">
    <title>newbie question, help heeded</title>
    <link>http://permalink.gmane.org/gmane.comp.gcc.cgicc.general/370</link>
    <description>&lt;pre&gt;_______________________________________________
help-cgicc mailing list
help-cgicc&amp;lt; at &amp;gt;gnu.org
http://lists.gnu.org/mailman/listinfo/help-cgicc
&lt;/pre&gt;</description>
    <dc:creator>Eduard Bareev</dc:creator>
    <dc:date>2009-08-10T14:23:58</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.gcc.cgicc.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.gcc.cgicc.general</link>
  </textinput>
</rdf:RDF>

