Sebastien Jodogne pushed to branch master at Debian Med / civetweb
Commits: 2a5103ae by jodogne-guest at 2020-09-19T10:58:42+02:00 fix arch-dependent paths in *.install files - - - - - 414aff83 by jodogne-guest at 2020-09-19T11:22:36+02:00 Add function to improve the performance of Orthanc on keep-alive - - - - - f28b3c2c by jodogne-guest at 2020-09-19T11:34:01+02:00 Upload to unstable - - - - - 5 changed files: - debian/changelog - debian/copyright - debian/libcivetweb-dev.install - + debian/patches/keep-alive-performance - + debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +civetweb (1.12+dfsg-3) unstable; urgency=medium + + [ Helmut Grohne <[email protected]> ] + * Don't use arch-dependent paths in *.install files + + [ Sebastien Jodogne ] + * Add function to improve the performance of Orthanc on keep-alive + + -- Sebastien Jodogne <[email protected]> Sat, 19 Sep 2020 10:52:31 +0200 + civetweb (1.12+dfsg-2) unstable; urgency=medium * Source-only upload ===================================== debian/copyright ===================================== @@ -78,3 +78,4 @@ License: Zlib 3. This notice may not be removed or altered from any source distribution. License: public-domain + . ===================================== debian/libcivetweb-dev.install ===================================== @@ -1,3 +1,3 @@ usr/lib/*/libcivetweb.so usr/include -usr/lib/x86_64-linux-gnu/cmake +usr/lib/*/cmake ===================================== debian/patches/keep-alive-performance ===================================== @@ -0,0 +1,35 @@ +Description: Introduce function for performance of keep-alive +Origin: https://hg.orthanc-server.com/orthanc/file/Orthanc-1.7.4/OrthancFramework/Resources/Patches/civetweb-1.12.patch +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: civetweb-1.12/include/civetweb.h +=================================================================== +--- civetweb-1.12.orig/include/civetweb.h ++++ civetweb-1.12/include/civetweb.h +@@ -1614,6 +1614,9 @@ CIVETWEB_API int mg_start_domain2(struct + struct mg_error_data *error); + #endif + ++// Added by SJ ++CIVETWEB_API void mg_disable_keep_alive(struct mg_connection *conn); ++ + #ifdef __cplusplus + } + #endif /* __cplusplus */ +Index: civetweb-1.12/src/civetweb.c +=================================================================== +--- civetweb-1.12.orig/src/civetweb.c ++++ civetweb-1.12/src/civetweb.c +@@ -20704,5 +20704,12 @@ mg_exit_library(void) + return 1; + } + ++// Added by SJ ++void mg_disable_keep_alive(struct mg_connection *conn) ++{ ++ if (conn != NULL) { ++ conn->must_close = 1; ++ } ++} + + /* End of civetweb.c */ ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +keep-alive-performance View it on GitLab: https://salsa.debian.org/med-team/civetweb/-/compare/5e273873a1bafade93e5ba4a4577cc67d98ea911...f28b3c2c281ea4505975e68479fec4667da65ba8 -- View it on GitLab: https://salsa.debian.org/med-team/civetweb/-/compare/5e273873a1bafade93e5ba4a4577cc67d98ea911...f28b3c2c281ea4505975e68479fec4667da65ba8 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
