diff options
author | Ted Trask <ttrask01@yahoo.com> | 2018-07-28 20:13:26 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2018-08-08 19:07:35 +0000 |
commit | 22b198e7f8bbdf04f28682bf286a89921d4c3a44 (patch) | |
tree | fde135f9c4f2df37761d339c4d3711f8447d7f23 /main/mini_httpd/cgi.patch | |
parent | 66aee115d6f8a446abda97270a8f1165931dbfcd (diff) | |
download | aports-22b198e7f8bbdf04f28682bf286a89921d4c3a44.tar.bz2 aports-22b198e7f8bbdf04f28682bf286a89921d4c3a44.tar.xz |
main/mini_httpd: Fix cgi bug breaking ACF logon
Diffstat (limited to 'main/mini_httpd/cgi.patch')
-rw-r--r-- | main/mini_httpd/cgi.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mini_httpd/cgi.patch b/main/mini_httpd/cgi.patch new file mode 100644 index 0000000000..f459bb4584 --- /dev/null +++ b/main/mini_httpd/cgi.patch @@ -0,0 +1,11 @@ +--- a/mini_httpd.c ++++ b/mini_httpd.c +@@ -1841,7 +1841,7 @@ + /* Interposer process. */ + (void) close( p[0] ); + cgi_interpose_input( p[1] ); +- finish_request( 0 ); ++ exit( 0 ); + } + (void) close( p[1] ); + if ( p[0] != STDIN_FILENO ) |