]>
git.feebdaed.xyz Git - 0xmirror/civetweb.git/log
bel2125 [Sun, 9 Nov 2025 20:59:44 +0000 (21:59 +0100)]
Merge pull request #1365 from JamesGKent/master
add server address to reqinfo
bel2125 [Sun, 9 Nov 2025 20:54:09 +0000 (21:54 +0100)]
Merge pull request #1364 from civetweb/dependabot/github_actions/master/actions/upload-artifact-5
Bump actions/upload-artifact from 4 to 5
James [Tue, 4 Nov 2025 09:21:32 +0000 (09:21 +0000)]
add server address to reqinfo
dependabot[bot] [Sat, 25 Oct 2025 10:02:46 +0000 (10:02 +0000)]
Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
bel2125 [Sun, 12 Oct 2025 21:31:05 +0000 (23:31 +0200)]
Merge pull request #1362 from civetweb/dependabot/github_actions/master/github/codeql-action-4
Bump github/codeql-action from 3 to 4
bel2125 [Sun, 12 Oct 2025 21:30:17 +0000 (23:30 +0200)]
Merge pull request #1360 from DL6ER/new/mbedtls_ciphersuite
Allow setting SSL cipher list with MbedTLS
dependabot[bot] [Sat, 11 Oct 2025 10:03:17 +0000 (10:03 +0000)]
Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
DL6ER [Thu, 2 Oct 2025 16:10:29 +0000 (18:10 +0200)]
Allow setting SSL cipher list also with MbedTLS
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Tue, 30 Sep 2025 21:16:38 +0000 (23:16 +0200)]
Do not scan third party projects
Third party projects need to be taken from their original repositories.
bel2125 [Mon, 29 Sep 2025 20:00:26 +0000 (22:00 +0200)]
AppVeyor: Add Visual Studio 2022
add compiler version settings for VS2022
add verstion setting for VS2026 (preview)
bel2125 [Sun, 28 Sep 2025 16:23:54 +0000 (18:23 +0200)]
Format code
Use clang-format to format all code files
bel2125 [Sun, 28 Sep 2025 16:17:53 +0000 (18:17 +0200)]
Update sqlite3
Note: CivetWeb has a copy of sqlite3 for convenience. For production, please consider using
the code files from the original sources.
bel2125 [Sun, 28 Sep 2025 16:12:08 +0000 (18:12 +0200)]
Appveyor: Deactivate SSL for VS2019 / VS2022
It seems OpenSSL is not available in the build images for VS2019 and VS2022.
Test without it until there is time to analyze and fix the problem.
OpenSSL is still tested using VS2017.
bel2125 [Thu, 11 Sep 2025 19:12:26 +0000 (21:12 +0200)]
Merge branch 'master' of https://github.com/civetweb/civetweb
bel2125 [Thu, 11 Sep 2025 19:11:55 +0000 (21:11 +0200)]
Merge pull request #1358 from DL6ER/lua-5.5
Add Lua 5.5 support and fix CI
DL6ER [Thu, 11 Sep 2025 18:26:10 +0000 (20:26 +0200)]
Fix timer test
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER [Thu, 11 Sep 2025 17:57:24 +0000 (19:57 +0200)]
Set minimum CMAKE version for tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER [Thu, 11 Sep 2025 17:50:56 +0000 (19:50 +0200)]
Add Lua 5.5 support
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Tue, 9 Sep 2025 22:26:36 +0000 (00:26 +0200)]
Unittest: fix alignment
bel2125 [Mon, 8 Sep 2025 12:44:33 +0000 (14:44 +0200)]
Use atomic operations in timer test
bel2125 [Sat, 6 Sep 2025 10:26:11 +0000 (12:26 +0200)]
AppVeyor build: Replace obsolete Visual Studio builds by new one
Visual Studio 2010, 2012, 2013 are no longer supported.
bel2125 [Tue, 2 Sep 2025 16:18:01 +0000 (18:18 +0200)]
Merge branch 'master' of https://github.com/civetweb/civetweb
bel2125 [Tue, 2 Sep 2025 16:15:47 +0000 (18:15 +0200)]
Merge pull request #1355 from aryanrahar/fix/uri-len-dup
avoid duplicate uri_len computations in handle_request
bel2125 [Tue, 2 Sep 2025 16:15:22 +0000 (18:15 +0200)]
Merge branch 'master' into fix/uri-len-dup
bel2125 [Tue, 2 Sep 2025 14:59:15 +0000 (16:59 +0200)]
Merge pull request #1352 from mfranzen0906/feature/replace-asterisk-with-origin
Feature/replace asterisk with origin
bel2125 [Tue, 2 Sep 2025 14:52:21 +0000 (16:52 +0200)]
Merge pull request #1350 from Geeoon/various-typo-fixes
Fixed typos where CivetWeb was spelled Incorrectly
bel2125 [Tue, 2 Sep 2025 14:51:44 +0000 (16:51 +0200)]
Merge pull request #1341 from yubiuser/prevent/CRLF
Prevent CRLF injection attempts
bel2125 [Tue, 2 Sep 2025 14:50:01 +0000 (16:50 +0200)]
Merge pull request #1347 from krispybyte/fix/uri-processing-heap-overflow
Fix heap overflow in directory URI redirection
bel2125 [Tue, 2 Sep 2025 14:39:18 +0000 (16:39 +0200)]
Merge pull request #1354 from civetweb/dependabot/github_actions/master/actions/checkout-5
Bump actions/checkout from 4 to 5
bel2125 [Tue, 2 Sep 2025 13:56:22 +0000 (15:56 +0200)]
Update SECURITY.md and LICENSE.md
bel2125 [Tue, 2 Sep 2025 13:38:08 +0000 (15:38 +0200)]
Update README
Remove mentioning some old services that are no longer used/maintained
bel2125 [Tue, 2 Sep 2025 12:08:41 +0000 (14:08 +0200)]
Make parsing of URL encoded forms more robust
Reject requests that obviously violate the URL encoding.
Fixes #1348
bel2125 [Tue, 2 Sep 2025 09:09:31 +0000 (11:09 +0200)]
Fix If-None-Match precedence (fixes caching problems for static content)
Fixes #1342
bel2125 [Tue, 2 Sep 2025 08:22:22 +0000 (10:22 +0200)]
Fix: Server with multiple SSL certificates and mg_set_request_handler() not working
Fixes #1335
Aryan Rahar [Thu, 21 Aug 2025 20:10:32 +0000 (20:10 +0000)]
civetweb: avoid duplicate uri_len computations in handle_request
- Compute URI length once after local_uri is finalized.
- Use cached value in directory trailing-slash check.
- Skip computing in NO_FILES builds.
- No functional change.
dependabot[bot] [Sat, 16 Aug 2025 10:46:32 +0000 (10:46 +0000)]
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Marcel F. [Wed, 13 Aug 2025 11:56:32 +0000 (13:56 +0200)]
Update civetweb.c
Marcel F. [Wed, 13 Aug 2025 10:39:28 +0000 (12:39 +0200)]
Fix names
Marcel F. [Wed, 13 Aug 2025 10:38:07 +0000 (12:38 +0200)]
Fix names
Marcel F. [Wed, 13 Aug 2025 08:54:03 +0000 (10:54 +0200)]
Update civetweb.c
Update to latest master
Marcel F. [Wed, 13 Aug 2025 08:46:10 +0000 (10:46 +0200)]
Add `replace_asterisk_with_origin` option for Acces-Control-Allow-Origin
If you have multiple allowed origins and require `allow_credentials` to be true, CORS might be a problem since it blocks all requests with Allow-Origin "*" in combination with Credentials. Therefore this feature adds a config paramter `replace_asterisk_with_origin`. If it is set to `yes` and the passed `Access-Control-Allow-Origin` is an asterisk, this will be replaced by the origin of the request in the corresponding response.
Geeoon Chung [Mon, 7 Jul 2025 22:44:10 +0000 (17:44 -0500)]
Fixed typos where CivetWeb was spelled CiwetWeb
krispybyte [Sat, 21 Jun 2025 21:23:06 +0000 (00:23 +0300)]
Fit code style
krispybyte [Sat, 21 Jun 2025 20:33:50 +0000 (23:33 +0300)]
Fix heap overflow in directory URI slash redirection
bel2125 [Sun, 25 May 2025 18:19:49 +0000 (20:19 +0200)]
Merge pull request #1340 from tim-lebedkov/tim-lebedkov-patch-docs-1
Use the correct Markdown syntax in page titles
bel2125 [Sun, 25 May 2025 18:19:23 +0000 (20:19 +0200)]
Merge pull request #1339 from dmdmdm/master
Added MG_ prefix in a few places
bel2125 [Sun, 25 May 2025 18:19:01 +0000 (20:19 +0200)]
Merge pull request #1331 from stevenwdv/patch-1
Use `stderr` for debug logging
yubiuser [Sat, 3 May 2025 19:22:23 +0000 (21:22 +0200)]
Prevent CRLF injection attempts
Signed-off-by: yubiuser <github@yubiuser.dev>
Tim Lebedkov [Thu, 1 May 2025 11:21:40 +0000 (13:21 +0200)]
Use the Markdown syntax
Tim Lebedkov [Thu, 1 May 2025 11:19:56 +0000 (13:19 +0200)]
Use the Markdown syntax
bel2125 [Fri, 18 Apr 2025 15:22:25 +0000 (17:22 +0200)]
Merge pull request #1329 from abra-mixabra/patch-1
Add X509 certificate and CRL MIME-types
bel2125 [Fri, 18 Apr 2025 15:21:34 +0000 (17:21 +0200)]
Merge pull request #1328 from DL6ER/fix/crash_all_optional
Prevent crash on no bound ports
bel2125 [Fri, 18 Apr 2025 15:20:55 +0000 (17:20 +0200)]
Merge pull request #1337 from dmdmdm/patch-1
Add prefix MG_ in a few places
bel2125 [Fri, 18 Apr 2025 08:55:36 +0000 (10:55 +0200)]
Auto-format code
bel2125 [Fri, 18 Apr 2025 08:54:36 +0000 (10:54 +0200)]
Merge branch 'master' of https://github.com/civetweb/civetweb
bel2125 [Fri, 18 Apr 2025 08:54:32 +0000 (10:54 +0200)]
Modify STOP_FLAG_ASSING to make TSAN happy (#1333)
bel2125 [Fri, 18 Apr 2025 08:26:49 +0000 (10:26 +0200)]
Merge pull request #1332 from DL6ER/fix/socket_optional_v6
Tolerate socket creation error if port is optional
dmdmdm [Mon, 7 Apr 2025 15:52:03 +0000 (11:52 -0400)]
Added MG_ prefix in a few places
dmdmdm [Thu, 3 Apr 2025 14:07:59 +0000 (10:07 -0400)]
Add prefix MG_ in a few places
DL6ER [Mon, 10 Mar 2025 18:11:43 +0000 (19:11 +0100)]
Tolerate socket creation error if port is optional
When users specify `[::]:80o` as port but the system has IPv6 disabled globally, e.g., with
```
GRUB_CMDLINE_LINUX="ipv6.disable=1"
```
then CivetWeb refuses to start even though it should skip the port if it cannot bind to it. However, when the port is specified as being optional, there is no point in treating non-availability of the protocol differently than the port already being taken. In this case, this port should simply be skipped.
Signed-off-by: DL6ER <dl6er@dl6er.de>
stevenwdv [Thu, 6 Mar 2025 13:11:14 +0000 (14:11 +0100)]
Print to stderr instead of stdout in mg_cry_internal_impl
stevenwdv [Thu, 6 Mar 2025 10:53:40 +0000 (11:53 +0100)]
Use `stderr` for `DEBUG_TRACE_STREAM`
Closes #1330
Abra Mixabra [Sun, 2 Mar 2025 18:44:35 +0000 (18:44 +0000)]
Add X509 certificate and CRL MIME-types
Add the following MIME types:
- application/pkix-cert
- application/pkix-crl
- application/x-pem-file
DL6ER [Sat, 1 Mar 2025 10:50:54 +0000 (11:50 +0100)]
Terminate master_thread early when there are no listening sockets to prevent CivetWeb from crashing
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Thu, 27 Feb 2025 21:51:07 +0000 (22:51 +0100)]
Merge pull request #1320 from phi-go/update_fuzz
Update fuzz harness
bel2125 [Thu, 27 Feb 2025 21:50:30 +0000 (22:50 +0100)]
Merge pull request #1323 from DL6ER/new/port_is_bound
Expose if server ports are bound
DL6ER [Mon, 10 Feb 2025 17:21:51 +0000 (18:21 +0100)]
Expose if server ports are bound
Signed-off-by: DL6ER <dl6er@dl6er.de>
phi-go [Thu, 23 Jan 2025 10:57:59 +0000 (11:57 +0100)]
use LLVMFuzzerInitialize
phi-go [Thu, 23 Jan 2025 09:49:03 +0000 (10:49 +0100)]
formatting
phi-go [Thu, 23 Jan 2025 09:01:42 +0000 (10:01 +0100)]
return 0 for TestOneInput
libFuzzer discards inputs when returning non-zero, and so gets stuck for
some targets
bel2125 [Mon, 13 Jan 2025 07:17:27 +0000 (08:17 +0100)]
Merge pull request #1318 from DL6ER/new/is_optional
Export ports.is_optional
DL6ER [Sun, 12 Jan 2025 18:42:07 +0000 (19:42 +0100)]
Expose is_optional property of listining_ports via mg_get_server_ports()
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Sun, 29 Dec 2024 10:29:33 +0000 (11:29 +0100)]
Merge pull request #1317 from catch-error/feature/gnutls
Add GnutTLS support.
catch-error [Fri, 27 Dec 2024 18:56:19 +0000 (19:56 +0100)]
Add GnutTLS support.
Signed-off-by: catch-error <mirko.kraft@gmx.ch>
bel2125 [Thu, 26 Dec 2024 13:49:27 +0000 (14:49 +0100)]
Merge pull request #1313 from PythonGermany/update-port-redirection-docs
Update listening_ports documentation
bel2125 [Thu, 26 Dec 2024 13:47:21 +0000 (14:47 +0100)]
Merge pull request #1312 from PythonGermany/patch-1
Update listening_ports documentation
PythonGermany [Fri, 6 Dec 2024 12:59:23 +0000 (13:59 +0100)]
Update listening_ports documentation
Add explanation on how port redirection is configured
PythonGermany [Fri, 6 Dec 2024 12:16:49 +0000 (13:16 +0100)]
Update listening_ports documentation
PythonGermany [Fri, 6 Dec 2024 12:04:41 +0000 (13:04 +0100)]
Update listening_ports documentation
Add description for optional port configuration
bel2125 [Fri, 22 Nov 2024 17:06:13 +0000 (18:06 +0100)]
Merge pull request #1306 from niklasf/cmake-3.10
Bump minimum CMake version to 3.10
Niklas Fiekas [Sun, 17 Nov 2024 15:33:35 +0000 (16:33 +0100)]
Bump minimum CMake version to 3.10
bel2125 [Fri, 25 Oct 2024 20:04:33 +0000 (22:04 +0200)]
Merge pull request #1304 from Alxe/patch-1147
#1147 Load version-specific libcrypto and libssl shared libraries
Alejandro [Thu, 24 Oct 2024 14:26:18 +0000 (16:26 +0200)]
#1147 Load version-specific dylib
bel2125 [Wed, 16 Oct 2024 06:11:58 +0000 (08:11 +0200)]
Merge pull request #1299 from yubiuser/macos_multi_core
Use all cores on macOS runners for CI build
yubiuser [Mon, 23 Sep 2024 13:33:41 +0000 (15:33 +0200)]
Replace nproc on MacOS
Signed-off-by: yubiuser <github@yubiuser.dev>
bel2125 [Sun, 13 Oct 2024 21:20:48 +0000 (23:20 +0200)]
Merge pull request #1298 from kstasik/fix/missing-host-name-for-websocket-with-ssl
fix: missing host name for ssl
bel2125 [Sun, 13 Oct 2024 21:19:49 +0000 (23:19 +0200)]
Merge pull request #1300 from yubiuser/openssl3.0_test
Add OpenSSL3.0 test and drop OpenSSL1.0 tests
bel2125 [Sun, 13 Oct 2024 21:15:50 +0000 (23:15 +0200)]
Merge pull request #1296 from DL6ER/fix/lua_error
Fix LUA error reporting
bel2125 [Sun, 13 Oct 2024 21:13:46 +0000 (23:13 +0200)]
Merge pull request #1301 from kiwichris/rtems-add-support
rtems: Add support for RTEMS
bel2125 [Sun, 13 Oct 2024 21:13:21 +0000 (23:13 +0200)]
Merge pull request #1302 from egorkonovalov/patch-1
Fix typo
Egor Konovalov [Mon, 7 Oct 2024 15:37:51 +0000 (17:37 +0200)]
Fix typo
Chris Johns [Fri, 27 Sep 2024 04:12:54 +0000 (14:12 +1000)]
rtems: Add support for RTEMS
yubiuser [Mon, 23 Sep 2024 20:49:28 +0000 (22:49 +0200)]
Set name of job in github UI
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Mon, 23 Sep 2024 20:16:01 +0000 (22:16 +0200)]
Remove test for OpenSSL 1.0
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Mon, 23 Sep 2024 19:27:36 +0000 (21:27 +0200)]
Add linux and macOS test using OpenSSL3.0
Signed-off-by: yubiuser <github@yubiuser.dev>
DL6ER [Mon, 23 Sep 2024 18:35:54 +0000 (20:35 +0200)]
Properly generate traceback in lua_error_handler() avoiding the first line showing the manual call to debug.traceback() itself
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER [Mon, 23 Sep 2024 11:13:35 +0000 (13:13 +0200)]
Abort early on Lua errors to avoid sending half-done pages to the user and call the lua_error_handler to get the error to the user as well as to the log file
Signed-off-by: DL6ER <dl6er@dl6er.de>
Handle stack properly and add static prototype in/for lua_error_handler()
Signed-off-by: DL6ER <dl6er@dl6er.de>
Kacper Stasik [Sun, 22 Sep 2024 20:43:57 +0000 (22:43 +0200)]
fix: missing host name for ssl
DL6ER [Fri, 20 Sep 2024 17:00:58 +0000 (19:00 +0200)]
Fix LUA error reporting
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Wed, 18 Sep 2024 21:00:44 +0000 (23:00 +0200)]
Merge pull request #1294 from yubiuser/fix/codeql
Remove duplicated codeql workflow