[tinyows] 04/05: Add upstream patch to bump CGI_QUERY_MAX from 32768 to 1000000.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Dec 20 01:05:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository tinyows.

commit 76048c9c1c73a675976cbed127b51c384e2c999e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 20 01:56:29 2015 +0100

    Add upstream patch to bump CGI_QUERY_MAX from 32768 to 1000000.
---
 debian/changelog                               |  1 +
 debian/patches/0001-Update-cgi_request.c.patch | 22 ++++++++++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 717b6f7..7120443 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ tinyows (1.1.1-2) UNRELEASED; urgency=medium
   * Update Vcs-Browser URL to use HTTPS.
   * Fix typo in README.Debian.
   * Use dh_clean for additional files instead of separate rm commands.
+  * Add upstream patch to bump CGI_QUERY_MAX from 32768 to 1000000.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 20 Dec 2015 01:39:30 +0100
 
diff --git a/debian/patches/0001-Update-cgi_request.c.patch b/debian/patches/0001-Update-cgi_request.c.patch
new file mode 100644
index 0000000..339cb8e
--- /dev/null
+++ b/debian/patches/0001-Update-cgi_request.c.patch
@@ -0,0 +1,22 @@
+From f9b0a68358b178e12752c929d522e4d9772a9b24 Mon Sep 17 00:00:00 2001
+From: Olivier Courtin <olivier.courtin at oslandia.com>
+Date: Mon, 26 Oct 2015 02:26:33 +0100
+Subject: Update cgi_request.c
+Origin: https://github.com/mapserver/tinyows/commit/f9b0a68358b178e12752c929d522e4d9772a9b24
+
+Increase CGI GET Limit
+---
+ src/struct/cgi_request.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/struct/cgi_request.c
++++ b/src/struct/cgi_request.c
+@@ -33,7 +33,7 @@
+ /*
+  * Max query string length send via QUERY_STRING CGI
+  */
+-#define CGI_QUERY_MAX 32768
++#define CGI_QUERY_MAX 1000000
+ 
+ 
+ /*
diff --git a/debian/patches/series b/debian/patches/series
index ac9508b..a545442 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+0001-Update-cgi_request.c.patch
 buffer_copy.patch
 liborder.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/tinyows.git



More information about the Pkg-grass-devel mailing list