diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-07-04 04:03:12 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-07-04 04:03:12 +0000 |
| commit | 24daa5813f277023f7b8453338870369bf00a3ca (patch) | |
| tree | fc19981595bd9be15daef821c0b5259c4f4907cb /src/libtipidee/tipidee_fcgi_beginrequest.c | |
| parent | 45808dbc6dc1b90fa512add692252bc15760a214 (diff) | |
| download | tipidee-24daa5813f277023f7b8453338870369bf00a3ca.tar.gz | |
Implement FastCGI, initial version
Diffstat (limited to 'src/libtipidee/tipidee_fcgi_beginrequest.c')
| -rw-r--r-- | src/libtipidee/tipidee_fcgi_beginrequest.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libtipidee/tipidee_fcgi_beginrequest.c b/src/libtipidee/tipidee_fcgi_beginrequest.c new file mode 100644 index 0000000..8a5a9a9 --- /dev/null +++ b/src/libtipidee/tipidee_fcgi_beginrequest.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include <tipidee/fcgi.h> + +int tipidee_fcgi_beginrequest (tipidee_fcgi *fc, tain *stamp) +{ + char body[8] = { 0, FCGI_RESPONDER, FCGI_KEEP_CONN, 0, 0, 0, 0, 0 } ; + return tipidee_fcgi_put(fc, FCGI_BEGIN_REQUEST, body, 8, stamp) == 8 ; +} |
