yhirose
9f41fc0447
Release v0.43.0
2026-04-19 20:18:52 -04:00
yhirose
cc8f270d4b
Fix test style for ResponseBodyTerminatedByConnectionClose
...
Use HOST/PORT constants and scope_exit cleanup pattern
to match the rest of the SSL test suite.
2026-04-13 20:41:56 -04:00
yhirose
b045ee7f6b
Fix #2424
2026-04-12 17:31:32 -04:00
yhirose
7e2a173072
Fix #2425
2026-04-12 17:25:41 -04:00
yhirose and Claude Opus 4.6
ee5d15c842
Let dynamic threads wait for work instead of exiting immediately
...
Previously, dynamic threads exited as soon as their current task
completed and the queue was empty. This caused excessive thread
creation/destruction under bursty or long-lived workloads (e.g., SSE
streaming), degrading tail latency. Now dynamic threads loop back and
wait for CPPHTTPLIB_THREAD_POOL_IDLE_TIMEOUT (3s) before exiting,
allowing them to be reused for subsequent tasks.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-12 11:50:38 -04:00
yhirose
09d00c099c
Update README
2026-04-11 22:24:04 -04:00
yhirose
6bdd657713
Enhance WebSocket support with unresponsive-peer detection and documentation updates
...
- Added `set_websocket_max_missed_pongs` method to configure unresponsive-peer detection.
- Updated README and documentation to clarify WebSocket limitations and features.
- Introduced tests for detecting non-responsive peers and ensuring responsive peers do not trigger timeouts.
2026-04-11 22:17:38 -04:00
yhirose
c0248ff7fc
Add links to other topics in Cookbook documents
2026-04-11 20:40:08 -04:00
yhirose
203e1bf2ac
Code cleanup
2026-04-11 20:40:08 -04:00
yhirose
ff04679538
Release v0.42.0
2026-04-11 18:53:36 -04:00
yhirose
d97749a315
Update README
2026-04-11 17:15:37 -04:00
yhirose
994d76ab39
Fix #2422
2026-04-11 15:38:35 -04:00
yhirose
529dafdee3
Add Cookbook other topics (draft)
2026-04-10 19:02:44 -04:00
yhirose
361b753f19
Add Cookbook S01-S22 (draft)
2026-04-10 18:47:42 -04:00
yhirose
61e533ddc5
Add Cookbook C01-C19 (draft)
2026-04-10 18:16:02 -04:00
yhirose
783de4ec4e
Update README
2026-04-08 18:35:56 -04:00
yhirose
7a7f9b30e7
Update README
2026-04-08 18:22:25 -04:00
yhirose
834a444435
Fixed warnings
2026-04-08 18:10:34 -04:00
yhirose
4f589c1ffb
Fix #2421
2026-04-08 18:09:22 -04:00
yhirose
ca82c93772
Refactor SSLVerifierResponse to enum class and add get_param_values method to Request
2026-04-04 00:02:26 -04:00
yhirose
073b587962
Release v0.41.0
2026-04-03 21:50:24 -04:00
yhirose
96785eea21
Add parse_url
2026-04-03 20:54:17 -04:00
yhirose
3093bdd9ab
Fix #2416
2026-04-03 18:27:12 -04:00
yhirose
32c82492de
Add workflow_dispatch trigger to docs deployment workflow
2026-03-28 11:08:25 -04:00
yhirose
b7e02de4a7
Release v0.40.0
2026-03-28 00:57:24 -04:00
yhirose
a9359df42e
Optimize multipart content provider to coalesce small writes and reduce TCP packet fragmentation ( Fix #2410 )
2026-03-28 00:23:59 -04:00
yhirose
9a97e948f0
Add set_socket_opt function and corresponding test for TCP_NODELAY option ( Resolve #2411 )
2026-03-28 00:23:59 -04:00
yhirose
6fd97aeca0
Implement request body consumption and reject invalid Content-Length with Transfer-Encoding to prevent request smuggling
2026-03-27 23:16:08 -04:00
yhirose
05540e4d50
Fixed warnings
2026-03-27 22:35:22 -04:00
yhirose
ceefc14e7d
Use go-httplibbin
2026-03-27 22:26:14 -04:00
yhirose
a77284a634
Release v0.39.0
2026-03-23 23:14:05 -04:00
yhirose
315a87520d
Add release script and update .gitignore for work directory
2026-03-23 23:06:37 -04:00
yhirose
703abbb53b
Prevent forwarding of authentication credentials during cross-host redirects as per RFC 9110. Add tests for basic auth and bearer token scenarios.
2026-03-23 22:32:53 -04:00
yhirose
cb8365349f
Fix #2404 (Refactor make_file_body to improve file handling and scope management)
2026-03-22 22:40:01 -04:00
yhirose
3792ce0da7
Add socket configuration options and corresponding test case for WebSocketClient. Fix #2401
2026-03-22 22:31:59 -04:00
yhirose
c2bdb1c5c1
SSE Client: Update Authorization Header
...
Fixes #2402
2026-03-21 13:17:28 -04:00
yhirose
45820de332
Enhance stream handling in LongPollingTest and add new test for client close detection
2026-03-18 18:29:19 -04:00
yhirose
dd8071a7d4
Fix #2397
2026-03-17 17:39:57 -04:00
yhirose
1c6b3ea5a0
Add status: "draft" to multiple documentation pages and enhance navigation sections
2026-03-14 23:46:14 -04:00
yhirose
4a1e9443ee
Update deprecation messages to indicate removal in v1.0.0
2026-03-14 23:32:07 -04:00
yhirose
6f2717e623
Release v0.38.0
2026-03-14 23:17:13 -04:00
yhirose
257b266190
Add runtime configuration for WebSocket ping interval and related tests
2026-03-14 22:44:17 -04:00
yhirose
ba0d0b82db
Add benchmark tests and related configurations for performance evaluation
2026-03-14 22:16:53 -04:00
yhirose
5ecba74a99
Remove large data tests for GzipDecompressor and SSLClientServerTest due to memory issues
2026-03-14 21:50:55 -04:00
yhirose
ec1ffbc27d
Add Brotli compression support and corresponding tests
2026-03-14 21:42:48 -04:00
yhirose
4978f26f86
Fix port number in OpenStreamMalformedContentLength test to avoid conflicts
2026-03-14 20:59:15 -04:00
yhirose
bb7c7ab075
Add quality parameter parsing for Accept-Encoding header and enhance encoding type selection logic
2026-03-14 20:51:25 -04:00
yhirose
1c3d35f83c
Update comment to clarify requirements for safe handling in ClientImpl::handle_request
2026-03-14 19:27:51 -04:00
yhirose
b1bb2b7ecc
Implement setup_proxy_connection method for SSLClient and refactor proxy handling in open_stream
2026-03-14 19:26:31 -04:00
yhirose
f6ed5fc60f
Add SSL support for proxy connections in open_stream and corresponding test
2026-03-14 18:38:34 -04:00
yhirose
69d468f4d9
Enable BindDualStack test and remove disabled large content test due to memory issues
2026-03-14 18:22:27 -04:00
yhirose
2e61fd3e6e
Update documentation to clarify progress callback usage and user data handling in examples
2026-03-13 22:54:29 -04:00
yhirose
3ad4a4243a
Update .gitignore to include AGENTS.md and related documentation files
2026-03-13 22:31:44 -04:00
yhirose
511e3ef9e5
Update README.md to enhance TLS backend documentation and clarify platform-specific certificate handling
2026-03-13 22:30:05 -04:00
yhirose
f787f31b87
Implement symlink protection in static file server and add corresponding tests
2026-03-13 16:22:16 -04:00
yhirose
43a54a3e3d
Add tests for Unicode path component decoding in decode_path_component function
2026-03-13 00:32:41 -04:00
yhirose
83e98a28dd
Add filename sanitization function and tests to prevent path traversal vulnerabilities
2026-03-13 00:29:13 -04:00
yhirose
4d7c9a788d
Release v0.37.2
2026-03-13 00:11:00 -04:00
yhirose
1cd0347ace
Refactor parse_port function to accept char pointer and length, improving flexibility and validation
2026-03-13 00:05:13 -04:00
yhirose
b3a8af80b9
Add port validation and corresponding tests to prevent overflow and out-of-range values
2026-03-13 00:05:13 -04:00
yhirose
1e97c28e36
Implement request smuggling protection for duplicate Content-Length headers and add corresponding tests
2026-03-13 00:05:13 -04:00
yhirose
d279eff4db
Fix the proxy test error
2026-03-12 23:15:10 -04:00
yhirose
188035fb6d
Add a test for the previous change
2026-03-12 22:57:11 -04:00
yhirose
9ced2f614d
Fix #2395
2026-03-12 19:18:09 -04:00
yhirose
68fa9bce0f
Release v0.37.1
2026-03-09 20:51:37 -04:00
yhirose
1f34c541b0
Add more books
2026-03-09 19:30:18 -04:00
yhirose
e41ec36274
Fix handling of malformed Content-Length in open_stream and add tests
2026-03-08 22:30:20 -04:00
yhirose
ab3098f18b
Update README
2026-03-06 18:50:23 -05:00
yhirose
0d3a3d805c
Release v0.37.0
2026-03-06 16:57:33 -05:00
yhirose
a058e31a3a
Use doc.yml to generate document site
2026-03-05 20:50:22 -05:00
yhirose
c87d442aac
Remove docs-gen
2026-03-03 23:58:03 -05:00
yhirose
de296af3eb
Fix problem with alternate file name check
2026-03-03 13:37:28 -05:00
yhirose
41899acece
Release v0.36.0
2026-03-02 21:56:38 -05:00
yhirose
bb22553087
Fix code format
2026-03-02 21:49:10 -05:00
yhirose
74807d24a7
Update pages-data.json with new content and structure for cpp-httplib documentation
2026-03-02 17:22:52 -05:00
yhirose
2e124cde02
Enhance documentation and configuration for static site generator
...
- Update README for clarity and quick start instructions
- Refine default config.toml with hostname and base path
- Adjust index.md files for consistent heading levels
- Simplify CSS for code block styling and remove unnecessary theme switching
- Refactor SiteConfig to derive full base URL from hostname and base path
- Update MarkdownRenderer to remove light theme handling
2026-03-02 00:48:14 -05:00
yhirose
fdb589d97e
Update dependency
2026-03-01 23:55:52 -05:00
yhirose
843ad379c7
Add search functionality across documentation pages
...
- Implemented a search button in the header of each documentation page.
- Added a search modal that allows users to input search queries.
- Integrated a JavaScript search feature that fetches and displays results from a new `pages-data.json` file.
- Each documentation page now includes a search overlay for improved navigation.
- Updated the main JavaScript file to handle search logic, including result highlighting and navigation.
- Created a `pages-data.json` file containing metadata for all documentation pages to facilitate search functionality.
2026-03-01 23:37:51 -05:00
yhirose
cda9680cdc
Update document site
2026-03-01 23:12:45 -05:00
yhirose
e906c31a79
Add favicon and update navigation icons across documentation
...
- Added a favicon link to all tour pages in the Japanese documentation.
- Updated navigation links to include SVG icons for Home and GitHub.
- Changed language button to include an SVG icon for better visual representation.
- Improved theme toggle button to use SVG icons for light and dark modes.
- Refactored the documentation build commands in the justfile for clarity and consistency.
2026-03-01 23:04:38 -05:00
yhirose
2d669c3636
Refactor main function to display help message when no command is provided
2026-03-01 23:04:38 -05:00
yhirose
b2d76658fc
Add default templates, styles, and scripts for documentation site
2026-03-01 23:04:38 -05:00
yhirose
63ede29db1
Update README
2026-03-01 17:34:03 -05:00
yhirose
ae64a5ee90
Fix #2381
2026-02-28 22:07:44 -05:00
yhirose
a9fc935919
Add a link to GitHub
2026-02-28 21:25:01 -05:00
yhirose
b6cd71d4ff
Update docs/
2026-02-28 20:58:42 -05:00
yhirose
bda599bfb4
Fix base_dir for GitHub PageS
2026-02-28 20:56:46 -05:00
yhirose
85b18a9c64
Release v0.35.0
2026-02-27 22:14:27 -05:00
yhirose
0853ce7753
Fix #2379
2026-02-27 22:08:27 -05:00
yhirose
c6c75e4c69
Remove tag-latest.yml
2026-02-23 00:01:58 -05:00
yhirose
7c33fd47bf
Release v0.34.0
2026-02-22 17:27:02 -05:00
yhirose
21243b3c9e
Fix problem caused by the recent performance improvement
2026-02-22 13:02:40 -05:00
yhirose
e068da4f6b
Fix race condittion with logging
2026-02-22 08:46:30 -05:00
yhirose
f6aec98145
Fix SocketStream.wait_writable_INET test
2026-02-22 08:39:08 -05:00
yhirose
f29bb15f9d
Performance improvement!
2026-02-22 07:53:23 -05:00
yhirose
c53d93d145
Add make_file_body
2026-02-22 07:53:23 -05:00
yhirose
b4d16a582d
Update latest tag when new release
2026-02-21 23:27:16 -05:00
yhirose
e61a8bcec7
Release v0.33.1
2026-02-21 08:55:06 -05:00
yhirose
33dbe00cce
Fix compiple problem with C++11 compiler
2026-02-21 08:52:50 -05:00
yhirose
f1f8ff53d5
Release v0.33.0
2026-02-21 08:43:49 -05:00