Commit Graph
32 Commits
Author SHA1 Message Date
yhirose 6e0f211cff Fix problem with .gitignore for examples 2025-10-27 17:54:27 -04:00
yhirose 145fc8b021 Proxy test (#2172)
* Add proxy test on CI

* Add Brotli and Zstd dev packages to proxy test workflow

* Fix Docker Compose command for GitHub Actions compatibility

* Add proxy readiness check and netcat dependency

* Use netcat-openbsd instead of virtual netcat package

* Add proxy startup delay and debug logging
2025-07-06 22:00:41 -04:00
yhirose 39a64fb4e7 Fix ABI compatibility tool on macOS 2025-02-11 18:40:39 -05:00
yhirose 7b18ae6f16 Update benchmark 2024-09-08 10:56:13 -04:00
yhirose 01a52aa8bd Add example/server_and_client.cc 2024-09-07 10:05:53 -04:00
yhirose dfa641ca41 Misc 2024-09-05 22:54:48 -04:00
yhirose c75d071615 Add benchmark tool 2024-09-05 12:22:46 -04:00
Hlado 177d8420a1 Added .gitattributes file to prevent git from changing line endings (#1872)
of text files using as data for tests.
2024-06-30 11:16:48 -04:00
yhirose 0b657d28cf Added example/one_time_request.cc. 2024-06-14 18:29:34 -04:00
yhirose bc3e098964 Updated .gitignore 2021-12-17 22:36:02 -05:00
Joel Rosdahl 887074efd2 Add test of httplib.h split into .h + .cc (#1015)
In order to test the split version (.h + .cc via split.py):

- Added a test_split program in the test directory whose main purpose is
  to verify that it works to compile and link the test case code against
  the split httplib.h version.
- Moved types needed for test cases to the “header part” of httplib.h.
  Also added forward declarations of functions needed by test cases.
- Added an include_httplib.cc file which is linked together with test.cc
  to verify that inline keywords have not been forgotten.

The changes to httplib.h just move code around (or add forward
declarations), with one exception: detail::split and
detail::process_client_socket have been converted to non-template
functions (taking an std::function instead of using a type parameter for
the function) and forward-declared instead. This avoids having to move
the templates to the “header part”.
2021-07-31 09:53:30 -04:00
yhirose 0e9cfd9f49 SSE client example 2020-07-25 11:20:57 -04:00
yhirose da26b517a3 Added url::Get interface 2020-04-21 23:00:39 -04:00
yhirose 2e360f9dd6 Improved Stream interface 2020-01-16 23:28:11 -05:00
yhirose 38adeaf02c Fixed problem with proxy support and added unit tests 2019-12-22 15:37:01 -05:00
yhirose 260422b7d7 Format code 2019-12-14 23:46:11 -05:00
yhirose 6f5a3c97ec Update .gitignore 2019-06-30 08:02:22 -04:00
yhirose 8d12e0d8f4 Simplified code 2019-06-11 21:39:35 -04:00
Duncan Ogilvie f88ab8ad4c travis and appveyor configuration 2018-10-14 22:42:18 +02:00
yhirose e2e33a7f0b Updated .gitignore 2018-04-18 08:35:12 -04:00
yhirose 292d1aeff7 added simplesvr sample. 2013-07-04 22:08:49 -04:00
yhirose 260edbf881 Updated .gitignore. 2013-04-24 20:14:42 -04:00
yhirose b1e2063d60 Added Xcode project. 2013-04-24 09:35:45 -04:00
yhirose 34f71312e8 Updated .gitignore. 2012-10-02 20:42:23 -04:00
yhirose 0a26cd08f0 Updated .gitignore. 2012-09-26 21:36:32 -04:00
yhirose 181d642238 Added 'hello' example. 2012-09-25 22:10:19 -04:00
yhirose 7953abff07 Added *.dSYM to .gitignore. 2012-09-24 23:15:28 -04:00
yhirose 14ef6f5d00 Added .suo to .gitignore. 2012-09-24 20:51:36 -04:00
yhirose c5c1c4d412 Win32 support.
Merged windows branch.

Revert "Merged windows branch."

This reverts commit ceb070d993f49543aa26a0ce9bd7e1f9ffabe5f5.
2012-09-24 11:04:32 -04:00
yhirose 3464386f17 Added Vim swap file to .gitignore. 2012-09-24 07:55:12 -04:00
yhirose 397362e930 Updated .gitignore 2012-09-23 00:40:59 -04:00
yhirose c568deaba1 Initial commit 2012-09-21 19:38:33 -07:00