Skip to content

Commit

Permalink
Merge 6b3d974 into 99e4d50
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Apr 16, 2023
2 parents 99e4d50 + 6b3d974 commit 98fde02
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/civetweb
Submodule civetweb updated 99 files
+25 −0 .github/workflows/cifuzz.yml
+42 −69 .travis.yml
+41 −2 CMakeLists.txt
+25 −2 CREDITS.md
+4 −0 LICENSE.md
+8 −12 Makefile
+43 −59 README.md
+33 −3 RELEASE_NOTES.md
+10 −1 SECURITY.md
+4 −2 VisualStudio/civetweb_lua/civetweb_lua.vcxproj
+3 −1 VisualStudio/civetweb_lua/civetweb_lua.vcxproj.filters
+2 −0 VisualStudio/lua_lib/lua_lib.vcxproj
+7 −1 VisualStudio/lua_lib/lua_lib.vcxproj.filters
+1 −1 VisualStudio/unit_test/unit_test.vcxproj
+1 −22 appveyor.yml
+1 −1 build
+3 −3 build.cmd
+5 −4 cmake/AddCCompilerFlag.cmake
+4 −4 cmake/AddCXXCompilerFlag.cmake
+11 −1 cmake/FindWinSock.cmake
+0 −31 cmake/check/c82fe8888aacfe784476112edd3878256d2e30bc.patch
+0 −27 cmake/check/check_run.patch
+0 −12 cmake/check/patch.cmake
+7 −0 cmake/civetweb-config.cmake.in
+12 −0 cmake/civetweb-cpp.pc.in
+13 −0 cmake/civetweb.pc.in
+0 −82 conan/build.py
+0 −11 conan/test_package/CMakeLists.txt
+0 −19 conan/test_package/conanfile.py
+0 −102 conan/test_package/test_package.cpp
+0 −14 conan/travis/build.sh
+0 −22 conan/travis/install.sh
+0 −89 conanfile.py
+3 −1 docs/Building.md
+1 −1 docs/Contribution.md
+10 −3 docs/Embedding.md
+1 −1 docs/Installing.md
+1 −1 docs/README.md
+33 −12 docs/UserManual.md
+36 −0 docs/api/mg_base64_X.md
+23 −36 docs/api/mg_callbacks.md
+1 −1 docs/api/mg_check_feature.md
+13 −2 docs/api/mg_error_data.md
+2 −1 docs/api/mg_exit_library.md
+1 −1 docs/api/mg_get_user_connection_data.md
+19 −13 docs/api/mg_init_library.md
+63 −0 docs/api/mg_match.md
+1 −1 docs/api/mg_md5.md
+1 −1 docs/api/mg_modify_passwords_file.md
+9 −0 docs/api/mg_set_auth_handler.md
+1 −1 docs/yaSSL.md
+5 −0 examples/README.md
+32 −0 examples/client/Makefile
+116 −0 examples/client/client.c
+10 −0 examples/embed_certificate/build.sh
+368 −0 examples/embed_certificate/ec_example.c
+2 −3 examples/embedded_c/embedded_c.c
+24 −0 examples/linux_ws_server_cpp/CMakeLists.txt
+17 −0 examples/linux_ws_server_cpp/README.md
+150 −0 examples/linux_ws_server_cpp/main.cc
+6 −6 examples/rest/Makefile
+3 −3 examples/rest/cJSON/cJSON.c
+2 −2 examples/rest/cJSON/cJSON.h
+99 −65 examples/rest/rest.c
+4 −0 examples/ws_server/build.sh
+192 −0 examples/ws_server/ws_server.c
+6 −1 format.bat
+7 −7 include/CivetServer.h
+129 −8 include/civetweb.h
+1 −1 resources/Makefile.in-duktape
+13 −2 resources/Makefile.in-lua
+9 −5 resources/cert/make_certs.sh
+1 −1 resources/check_defines.lua
+2 −1 resources/coverity_check.sh
+39 −10 src/CivetServer.cpp
+1,839 −795 src/civetweb.c
+1 −1 src/handle_form.inl
+52 −20 src/http2.inl
+70 −180 src/main.c
+262 −0 src/match.inl
+2 −1 src/md5.inl
+59 −29 src/mod_lua.inl
+19 −1 src/mod_mbedtls.inl
+1 −1 src/mod_zlib.inl
+22 −6 src/response.inl
+48 −0 src/sort.inl
+427 −0 src/third_party/lua_struct.c
+1 −0 test/access/.htpasswd
+16 −0 test/flush.php
+1 −1 test/lua_backbround_script_logging.lua
+1 −1 test/page.lp
+1 −1 test/page.lua
+2 −0 test/page2.lua
+7 −20 unittest/CMakeLists.txt
+1 −3 unittest/civetweb_check.h
+0 −3 unittest/main.c
+399 −84 unittest/private.c
+95 −1 unittest/public_func.c
+49 −157 unittest/public_server.c
6 changes: 4 additions & 2 deletions bazel/civetweb.BUILD
Expand Up @@ -51,7 +51,6 @@ cc_library(
name = "libcivetweb",
srcs = [
"src/civetweb.c",
"src/response.inl",
],
hdrs = [
"include/civetweb.h",
Expand All @@ -69,8 +68,11 @@ cc_library(
"//conditions:default": ["-lrt"],
}),
textual_hdrs = [
"src/md5.inl",
"src/handle_form.inl",
"src/match.inl",
"src/md5.inl",
"src/response.inl",
"src/sort.inl",
],
visibility = ["//visibility:public"],
deps = DEPS,
Expand Down
6 changes: 3 additions & 3 deletions bazel/repositories.bzl
Expand Up @@ -5,10 +5,10 @@ def prometheus_cpp_repositories():
maybe(
http_archive,
name = "civetweb",
strip_prefix = "civetweb-1.15",
sha256 = "90a533422944ab327a4fbb9969f0845d0dba05354f9cacce3a5005fa59f593b9",
strip_prefix = "civetweb-1.16",
sha256 = "f0e471c1bf4e7804a6cfb41ea9d13e7d623b2bcc7bc1e2a4dd54951a24d60285",
urls = [
"https://github.com/civetweb/civetweb/archive/v1.15.tar.gz",
"https://github.com/civetweb/civetweb/archive/v1.16.tar.gz",
],
build_file = "@com_github_jupp0r_prometheus_cpp//bazel:civetweb.BUILD",
)
Expand Down
6 changes: 6 additions & 0 deletions bazel/zlib.BUILD
Expand Up @@ -12,5 +12,11 @@ cc_library(
"-Dverbose=-1",
],
includes = ["."],
local_defines = select({
"@bazel_tools//src/conditions:windows": [],
"//conditions:default": [
"Z_HAVE_UNISTD_H",
],
}),
visibility = ["//visibility:public"],
)

0 comments on commit 98fde02

Please sign in to comment.