]> git.feebdaed.xyz Git - 0xmirror/civetweb.git/log
0xmirror/civetweb.git
7 months agoUse the Markdown syntax
Tim Lebedkov [Thu, 1 May 2025 11:21:40 +0000 (13:21 +0200)]
Use the Markdown syntax

7 months agoUse the Markdown syntax
Tim Lebedkov [Thu, 1 May 2025 11:19:56 +0000 (13:19 +0200)]
Use the Markdown syntax

8 months agoMerge pull request #1329 from abra-mixabra/patch-1
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

8 months agoMerge pull request #1328 from DL6ER/fix/crash_all_optional
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

8 months agoMerge pull request #1337 from dmdmdm/patch-1
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

8 months agoAuto-format code
bel2125 [Fri, 18 Apr 2025 08:55:36 +0000 (10:55 +0200)]
Auto-format code

8 months agoMerge branch 'master' of https://github.com/civetweb/civetweb
bel2125 [Fri, 18 Apr 2025 08:54:36 +0000 (10:54 +0200)]
Merge branch 'master' of https://github.com/civetweb/civetweb

8 months agoModify STOP_FLAG_ASSING to make TSAN happy (#1333)
bel2125 [Fri, 18 Apr 2025 08:54:32 +0000 (10:54 +0200)]
Modify STOP_FLAG_ASSING to make TSAN happy (#1333)

8 months agoMerge pull request #1332 from DL6ER/fix/socket_optional_v6
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

8 months agoAdd prefix MG_ in a few places
dmdmdm [Thu, 3 Apr 2025 14:07:59 +0000 (10:07 -0400)]
Add prefix MG_ in a few places

9 months agoTolerate socket creation error if port is optional
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>
9 months agoAdd X509 certificate and CRL MIME-types
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

9 months agoTerminate master_thread early when there are no listening sockets to prevent CivetWeb...
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>
9 months agoMerge pull request #1320 from phi-go/update_fuzz
bel2125 [Thu, 27 Feb 2025 21:51:07 +0000 (22:51 +0100)]
Merge pull request #1320 from phi-go/update_fuzz

Update fuzz harness

9 months agoMerge pull request #1323 from DL6ER/new/port_is_bound
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

10 months agoExpose 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>
11 months agouse LLVMFuzzerInitialize
phi-go [Thu, 23 Jan 2025 10:57:59 +0000 (11:57 +0100)]
use LLVMFuzzerInitialize

11 months agoformatting
phi-go [Thu, 23 Jan 2025 09:49:03 +0000 (10:49 +0100)]
formatting

11 months agoreturn 0 for TestOneInput
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

11 months agoMerge pull request #1318 from DL6ER/new/is_optional
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

11 months agoExpose is_optional property of listining_ports via mg_get_server_ports()
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>
11 months agoMerge pull request #1317 from catch-error/feature/gnutls
bel2125 [Sun, 29 Dec 2024 10:29:33 +0000 (11:29 +0100)]
Merge pull request #1317 from catch-error/feature/gnutls

Add GnutTLS support.

12 months agoAdd 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>
12 months agoMerge pull request #1313 from PythonGermany/update-port-redirection-docs
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

12 months agoMerge pull request #1312 from PythonGermany/patch-1
bel2125 [Thu, 26 Dec 2024 13:47:21 +0000 (14:47 +0100)]
Merge pull request #1312 from PythonGermany/patch-1

Update listening_ports documentation

12 months agoUpdate 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

12 months agoUpdate listening_ports documentation
PythonGermany [Fri, 6 Dec 2024 12:16:49 +0000 (13:16 +0100)]
Update listening_ports documentation

12 months agoUpdate 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

13 months agoMerge pull request #1306 from niklasf/cmake-3.10
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

13 months agoBump 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

14 months agoMerge pull request #1304 from Alxe/patch-1147
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

14 months ago#1147 Load version-specific dylib
Alejandro [Thu, 24 Oct 2024 14:26:18 +0000 (16:26 +0200)]
#1147 Load version-specific dylib

14 months agoMerge pull request #1299 from yubiuser/macos_multi_core
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

14 months agoReplace nproc on MacOS
yubiuser [Mon, 23 Sep 2024 13:33:41 +0000 (15:33 +0200)]
Replace nproc on MacOS

Signed-off-by: yubiuser <github@yubiuser.dev>
14 months agoMerge pull request #1298 from kstasik/fix/missing-host-name-for-websocket-with-ssl
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

14 months agoMerge pull request #1300 from yubiuser/openssl3.0_test
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

14 months agoMerge pull request #1296 from DL6ER/fix/lua_error
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

14 months agoMerge pull request #1301 from kiwichris/rtems-add-support
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

14 months agoMerge pull request #1302 from egorkonovalov/patch-1
bel2125 [Sun, 13 Oct 2024 21:13:21 +0000 (23:13 +0200)]
Merge pull request #1302 from egorkonovalov/patch-1

Fix typo

14 months agoFix typo
Egor Konovalov [Mon, 7 Oct 2024 15:37:51 +0000 (17:37 +0200)]
Fix typo

15 months agortems: Add support for RTEMS
Chris Johns [Fri, 27 Sep 2024 04:12:54 +0000 (14:12 +1000)]
rtems: Add support for RTEMS

15 months agoSet name of job in github UI
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>
15 months agoRemove test for OpenSSL 1.0
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>
15 months agoAdd linux and macOS test using OpenSSL3.0
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>
15 months agoProperly generate traceback in lua_error_handler() avoiding the first line showing...
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>
15 months agoAbort early on Lua errors to avoid sending half-done pages to the user and call the...
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>
15 months agofix: missing host name for ssl
Kacper Stasik [Sun, 22 Sep 2024 20:43:57 +0000 (22:43 +0200)]
fix: missing host name for ssl

15 months agoFix LUA error reporting
DL6ER [Fri, 20 Sep 2024 17:00:58 +0000 (19:00 +0200)]
Fix LUA error reporting

Signed-off-by: DL6ER <dl6er@dl6er.de>
15 months agoMerge pull request #1294 from yubiuser/fix/codeql
bel2125 [Wed, 18 Sep 2024 21:00:44 +0000 (23:00 +0200)]
Merge pull request #1294 from yubiuser/fix/codeql

Remove duplicated codeql workflow

15 months agoRemove 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>
15 months agoMerge pull request #1293 from civetweb/dependabot/github_actions/master/actions/check...
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

15 months agoMerge pull request #1292 from civetweb/dependabot/github_actions/master/actions/uploa...
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

15 months agoMerge pull request #1291 from civetweb/dependabot/github_actions/master/github/codeql...
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

15 months agoMerge pull request #1283 from yubiuser/devcontainer
bel2125 [Sun, 15 Sep 2024 09:57:47 +0000 (11:57 +0200)]
Merge pull request #1283 from yubiuser/devcontainer

Add devcontainer

15 months agoMerge pull request #1284 from yubiuser/gihtub_CI
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

15 months agoBump actions/checkout from 2 to 4
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>
15 months agoBump actions/upload-artifact from 1 to 4
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>
15 months agoBump github/codeql-action from 1 to 3
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>
15 months agoMerge pull request #1287 from yubiuser/dependabot2
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

15 months agoMerge pull request #1286 from DL6ER/fix/lua_kepler_headers
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)

15 months agoMerge pull request #1282 from DL6ER/fix/form_buf_fill
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

15 months agoMerge pull request #1281 from DL6ER/fix/mbedtls_tls13
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

16 months agoUse wildcard matching
yubiuser [Fri, 23 Aug 2024 11:40:49 +0000 (13:40 +0200)]
Use wildcard matching

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoKeep only FreeBSD on Travis
yubiuser [Fri, 23 Aug 2024 11:25:02 +0000 (13:25 +0200)]
Keep only FreeBSD on Travis

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoRevert https://github.com/civetweb/civetweb/commit/19b70adc70ca66cc862f3fd065e354af64...
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>
16 months agoRun unittests
yubiuser [Fri, 23 Aug 2024 10:55:10 +0000 (12:55 +0200)]
Run unittests

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months ago--no-install-recommends
yubiuser [Tue, 20 Aug 2024 11:50:55 +0000 (13:50 +0200)]
--no-install-recommends

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoAdd clang and set --no-install-recommends
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>
16 months agoFix Lua SQLite Verification Hash
yubiuser [Sun, 18 Aug 2024 20:34:10 +0000 (22:34 +0200)]
Fix Lua SQLite Verification Hash

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoAdd dependabot to keep github-actions up-to-date
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>
16 months agoBump macosx-version-min to 10.6 to fix deprecation warning
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>
16 months agoDo not set XOPEN__SOURCE when USE_COCOA is set
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>
16 months agoDrop i386 arch for MacOS
yubiuser [Sun, 18 Aug 2024 20:00:28 +0000 (22:00 +0200)]
Drop i386 arch for MacOS

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoMacOS builds
yubiuser [Sun, 18 Aug 2024 19:59:31 +0000 (21:59 +0200)]
MacOS builds

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoAdd linux build
yubiuser [Sun, 18 Aug 2024 08:29:46 +0000 (10:29 +0200)]
Add linux build

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoAdd devcontainer
yubiuser [Sun, 18 Aug 2024 07:55:20 +0000 (09:55 +0200)]
Add devcontainer

Signed-off-by: yubiuser <github@yubiuser.dev>
16 months agoFix header generation for Lua Server Pages (Kepler syntax).
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>
16 months agoAdd missing PSA (Platform Security Architecture) cryptography API initialization
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>
16 months agoFix comparison of integer expressions of different signedness warnings in mg_handle_f...
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>
16 months agoMerge pull request #1280 from leyuskckiran1510/api-docs-typo
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

16 months agoMerge pull request #1279 from DL6ER/lua/kepler_errorpages
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

16 months agoMerge pull request #1278 from DL6ER/lua/nodlopen
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

16 months agodocs: fix typo on mg_form_data_handler api docs
leyuskckiran1510 [Mon, 12 Aug 2024 16:39:37 +0000 (22:24 +0545)]
docs: fix typo on mg_form_data_handler api docs

16 months agoSend correct HTTP error code when serving an error page. Currently, this is broken...
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>
16 months agoRespect NO_DLOPEN also in Lua code
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>
16 months agoMerge pull request #1277 from timtjtim/multipart-form-data-#1276
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

16 months ago[#1276] limit preamble, add test case
tim [Thu, 8 Aug 2024 22:37:15 +0000 (23:37 +0100)]
[#1276] limit preamble, add test case

16 months ago[#1276] remove debug method
tim [Thu, 8 Aug 2024 22:28:30 +0000 (23:28 +0100)]
[#1276] remove debug method

16 months ago[#1276] mutipart form data
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

16 months agoMerge pull request #1261 from ttytm/ndebug-reminders
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

16 months agoMerge pull request #1275 from yafiyogi/CMake-Build-Allow-USE_HTTP2
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.

16 months ago[#1276] add test cases for multipart form data
tim [Tue, 6 Aug 2024 01:25:30 +0000 (02:25 +0100)]
[#1276] add test cases for multipart form data

17 months agoRemove 'add_definitions(-Wno-gnu-zero-variadic-macro-arguments)'.
yafiyogi [Mon, 22 Jul 2024 10:14:04 +0000 (11:14 +0100)]
Remove 'add_definitions(-Wno-gnu-zero-variadic-macro-arguments)'.

17 months agoAdd cmake option CIVETWEB_ENABLE_HTTP2 to allow HTTP2 builds.
yafiyogi [Sat, 20 Jul 2024 14:12:08 +0000 (15:12 +0100)]
Add cmake option CIVETWEB_ENABLE_HTTP2 to allow HTTP2 builds.

17 months agoFormat source after merge
bel2125 [Thu, 11 Jul 2024 19:40:52 +0000 (21:40 +0200)]
Format source after merge

17 months agoRemove donation links
bel2125 [Thu, 11 Jul 2024 19:39:48 +0000 (21:39 +0200)]
Remove donation links

17 months agoMerge pull request #1266 from ttytm/rename-auth-header-struct
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

17 months agoMerge pull request #1270 from mmahringer/feature/fix_client
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

17 months agoOnly 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.

18 months agoRename ah struct to auth_header
Turiiya [Sun, 16 Jun 2024 17:01:07 +0000 (19:01 +0200)]
Rename ah struct to auth_header