]>
git.feebdaed.xyz Git - 0xmirror/civetweb.git/log
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 [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>
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
yubiuser [Sun, 15 Sep 2024 10:29:52 +0000 (12:29 +0200)]
Remove duplicated codeql workflow
Signed-off-by: yubiuser <github@yubiuser.dev>
bel2125 [Sun, 15 Sep 2024 09:59:03 +0000 (11:59 +0200)]
Merge pull request #1293 from civetweb/dependabot/github_actions/master/actions/checkout-4
Bump actions/checkout from 2 to 4
bel2125 [Sun, 15 Sep 2024 09:58:44 +0000 (11:58 +0200)]
Merge pull request #1292 from civetweb/dependabot/github_actions/master/actions/upload-artifact-4
Bump actions/upload-artifact from 1 to 4
bel2125 [Sun, 15 Sep 2024 09:58:25 +0000 (11:58 +0200)]
Merge pull request #1291 from civetweb/dependabot/github_actions/master/github/codeql-action-3
Bump github/codeql-action from 1 to 3
bel2125 [Sun, 15 Sep 2024 09:57:47 +0000 (11:57 +0200)]
Merge pull request #1283 from yubiuser/devcontainer
Add devcontainer
bel2125 [Sun, 15 Sep 2024 08:21:04 +0000 (10:21 +0200)]
Merge pull request #1284 from yubiuser/gihtub_CI
Add Github Action CI workflow
dependabot[bot] [Sun, 15 Sep 2024 07:38:48 +0000 (07:38 +0000)]
Bump actions/checkout from 2 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [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/v2...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Sun, 15 Sep 2024 07:38:46 +0000 (07:38 +0000)]
Bump actions/upload-artifact from 1 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v4)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Sun, 15 Sep 2024 07:38:44 +0000 (07:38 +0000)]
Bump github/codeql-action from 1 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 3.
- [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/v1...v3)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
bel2125 [Sun, 15 Sep 2024 07:37:58 +0000 (09:37 +0200)]
Merge pull request #1287 from yubiuser/dependabot2
Add dependabot to keep github-actions up-to-date
bel2125 [Sun, 15 Sep 2024 07:31:48 +0000 (09:31 +0200)]
Merge pull request #1286 from DL6ER/fix/lua_kepler_headers
Fix header generation for Lua Server Pages (Kepler syntax)
bel2125 [Sun, 15 Sep 2024 07:30:30 +0000 (09:30 +0200)]
Merge pull request #1282 from DL6ER/fix/form_buf_fill
Fix variable signedness in handle_form.inl
bel2125 [Sun, 15 Sep 2024 07:29:53 +0000 (09:29 +0200)]
Merge pull request #1281 from DL6ER/fix/mbedtls_tls13
mbedTLS: Fix TLS 1.3 support
yubiuser [Fri, 23 Aug 2024 11:40:49 +0000 (13:40 +0200)]
Use wildcard matching
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Fri, 23 Aug 2024 11:25:02 +0000 (13:25 +0200)]
Keep only FreeBSD on Travis
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Fri, 23 Aug 2024 10:57:42 +0000 (12:57 +0200)]
Revert https://github.com/civetweb/civetweb/commit/
19b70adc70ca66cc862f3fd065e354af64b7b011
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Fri, 23 Aug 2024 10:55:10 +0000 (12:55 +0200)]
Run unittests
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Tue, 20 Aug 2024 11:50:55 +0000 (13:50 +0200)]
--no-install-recommends
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Tue, 20 Aug 2024 11:03:27 +0000 (13:03 +0200)]
Add clang and set --no-install-recommends
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 20:34:10 +0000 (22:34 +0200)]
Fix Lua SQLite Verification Hash
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 20:23:44 +0000 (22:23 +0200)]
Add dependabot to keep github-actions up-to-date
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 20:02:04 +0000 (22:02 +0200)]
Bump macosx-version-min to 10.6 to fix deprecation warning
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 20:01:30 +0000 (22:01 +0200)]
Do not set XOPEN__SOURCE when USE_COCOA is set
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 20:00:28 +0000 (22:00 +0200)]
Drop i386 arch for MacOS
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 19:59:31 +0000 (21:59 +0200)]
MacOS builds
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 08:29:46 +0000 (10:29 +0200)]
Add linux build
Signed-off-by: yubiuser <github@yubiuser.dev>
yubiuser [Sun, 18 Aug 2024 07:55:20 +0000 (09:55 +0200)]
Add devcontainer
Signed-off-by: yubiuser <github@yubiuser.dev>
DL6ER [Sun, 18 Aug 2024 05:21:34 +0000 (07:21 +0200)]
Fix header generation for Lua Server Pages (Kepler syntax).
The currently used code has send_no_cache_header() and send_additional_header() but NOT actually a call to mg_response_header_send(). When NO_RESPONSE_BUFFERING is not set (default), this merely adds the additional headers to the buffer but does not send them. As a final call to mg_response_header_send() was indeed missing here, they are never sent causing, e.g., headers added through the "additional_headers" config string to be ignored for Kepler LSP. Similarly, CORS and cache-control headers were missing in this case.
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER [Fri, 16 Aug 2024 16:57:35 +0000 (18:57 +0200)]
Add missing PSA (Platform Security Architecture) cryptography API initialization
It is mandatory when PSA is used which is, in turn, mandatory when using TLS 1.3 (`MBEDTLS_SSL_PROTO_TLS1_3`). When not being initialized, the server will finish startup but any encrypted traffic will cause errors deep inside the mbedTLS library (return code `0x6c00 == MBEDTLS_ERR_SSL_INTERNAL_ERROR`).
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER [Thu, 15 Aug 2024 19:33:26 +0000 (21:33 +0200)]
Fix comparison of integer expressions of different signedness warnings in mg_handle_form_request (GCC -Wsign-compare)
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Wed, 14 Aug 2024 07:28:42 +0000 (09:28 +0200)]
Merge pull request #1280 from leyuskckiran1510/api-docs-typo
docs: fix typo on mg_form_data_handler api docs
bel2125 [Wed, 14 Aug 2024 07:28:12 +0000 (09:28 +0200)]
Merge pull request #1279 from DL6ER/lua/kepler_errorpages
Send correct HTTP error code when serving custom error pages
bel2125 [Wed, 14 Aug 2024 07:27:01 +0000 (09:27 +0200)]
Merge pull request #1278 from DL6ER/lua/nodlopen
Respect NO_DLOPEN also in Lua code
leyuskckiran1510 [Mon, 12 Aug 2024 16:39:37 +0000 (22:24 +0545)]
docs: fix typo on mg_form_data_handler api docs
DL6ER [Sat, 10 Aug 2024 11:04:10 +0000 (13:04 +0200)]
Send correct HTTP error code when serving an error page. Currently, this is broken and even 404 errors are served with HTTP 200 OK while they clearly shouldn't.
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER [Sat, 10 Aug 2024 10:58:15 +0000 (12:58 +0200)]
Respect NO_DLOPEN also in Lua code
Signed-off-by: DL6ER <dl6er@dl6er.de>
bel2125 [Fri, 9 Aug 2024 20:36:25 +0000 (22:36 +0200)]
Merge pull request #1277 from timtjtim/multipart-form-data-#1276
Multipart form data #1276
tim [Thu, 8 Aug 2024 22:37:15 +0000 (23:37 +0100)]
[#1276] limit preamble, add test case
tim [Thu, 8 Aug 2024 22:28:30 +0000 (23:28 +0100)]
[#1276] remove debug method
tim [Thu, 8 Aug 2024 01:36:33 +0000 (02:36 +0100)]
[#1276] mutipart form data
- Add some tests
- Add fixes for preamble, epilogue, transport padding, boundary lines
bel2125 [Wed, 7 Aug 2024 11:37:36 +0000 (13:37 +0200)]
Merge pull request #1261 from ttytm/ndebug-reminders
Disable `mg_` reminders when `NDEBUG` is defined
bel2125 [Wed, 7 Aug 2024 11:36:53 +0000 (13:36 +0200)]
Merge pull request #1275 from yafiyogi/CMake-Build-Allow-USE_HTTP2
Add cmake option CIVETWEB_ENABLE_HTTP2 to allow HTTP2 builds.
tim [Tue, 6 Aug 2024 01:25:30 +0000 (02:25 +0100)]
[#1276] add test cases for multipart form data
yafiyogi [Mon, 22 Jul 2024 10:14:04 +0000 (11:14 +0100)]
Remove 'add_definitions(-Wno-gnu-zero-variadic-macro-arguments)'.
yafiyogi [Sat, 20 Jul 2024 14:12:08 +0000 (15:12 +0100)]
Add cmake option CIVETWEB_ENABLE_HTTP2 to allow HTTP2 builds.
bel2125 [Thu, 11 Jul 2024 19:40:52 +0000 (21:40 +0200)]
Format source after merge
bel2125 [Thu, 11 Jul 2024 19:39:48 +0000 (21:39 +0200)]
Remove donation links
bel2125 [Thu, 11 Jul 2024 07:57:17 +0000 (09:57 +0200)]
Merge pull request #1266 from ttytm/rename-auth-header-struct
Rename ah struct to auth_header
bel2125 [Thu, 11 Jul 2024 07:56:40 +0000 (09:56 +0200)]
Merge pull request #1270 from mmahringer/feature/fix_client
Only poll thread_shutdown_notification_socket for server context
Martin Mahringer [Fri, 5 Jul 2024 12:01:11 +0000 (14:01 +0200)]
Only poll thread_shutdown_notification_socket for server context
The socket thread_shutdown_notification_socket must only be used for
context type CONTEXT_SERVER.
Turiiya [Sun, 16 Jun 2024 17:01:07 +0000 (19:01 +0200)]
Rename ah struct to auth_header