mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
The website of fastcgi has been down for a long time. The project is now in a GitHub archive: https://github.com/FastCGI-Archives Also switch to GitHub with www/mod_fastcgi Changelog: *) cast from pointer to integer of different size fix *) fix prinf %d warning *) .cvsignore to .gitignore *) apache 2.4 compile fix - While I am here, use "make makepatch" for the patches in /files Approved by: brnrd (apache) With hat: apache Sponsored by: Netzkommune GmbH Differential Revision: https://reviews.freebsd.org/D18471
11 lines
673 B
C
11 lines
673 B
C
--- fcgi_protocol.c.orig 2017-03-29 21:11:44 UTC
|
|
+++ fcgi_protocol.c
|
|
@@ -475,7 +475,7 @@ int fcgi_protocol_dequeue(pool *p, fcgi_request *fr)
|
|
ap_log_rerror(FCGI_LOG_ERR_NOERRNO, fr->r,
|
|
"FastCGI: comm with server \"%s\" aborted: protocol error: "
|
|
"invalid FCGI_END_REQUEST size: "
|
|
- "%d != sizeof(FCGI_EndRequestBody)(%ld)",
|
|
+ "%d != sizeof(FCGI_EndRequestBody)(%zu)",
|
|
fr->fs_path, fr->dataLen, sizeof(FCGI_EndRequestBody));
|
|
return HTTP_INTERNAL_SERVER_ERROR;
|
|
}
|