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_header_pack.c | |
| parent | 45808dbc6dc1b90fa512add692252bc15760a214 (diff) | |
| download | tipidee-24daa5813f277023f7b8453338870369bf00a3ca.tar.gz | |
Implement FastCGI, initial version
Diffstat (limited to 'src/libtipidee/tipidee_fcgi_header_pack.c')
| -rw-r--r-- | src/libtipidee/tipidee_fcgi_header_pack.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libtipidee/tipidee_fcgi_header_pack.c b/src/libtipidee/tipidee_fcgi_header_pack.c deleted file mode 100644 index 2f1a550..0000000 --- a/src/libtipidee/tipidee_fcgi_header_pack.c +++ /dev/null @@ -1,15 +0,0 @@ -/* ISC license. */ - -#include <skalibs/uint16.h> - -#include <tipidee/fcgi.h> - -void tipidee_fcgi_header_pack (char *s, fcgi_header const *hdr) -{ - *s++ = hdr->version ; - *s++ = hdr->type ; - uint16_pack_big(s, hdr->requestid) ; s += 2 ; - uint16_pack_big(s, hdr->len) ; s += 2 ; - *s++ = hdr->padlen ; - *s++ = 0 ; -} |
