1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00
Commit Graph

2616 Commits

Author SHA1 Message Date
bel
3abbb3d862 Fix unit test 12 2015-07-30 21:42:30 +02:00
bel
047c7ef33a More unit tests 2015-07-30 21:35:21 +02:00
bel
0b33fedc70 Maybe CI tests use a different working directory? 2015-07-30 21:23:48 +02:00
bel
a8d86856b0 More unit tests 2015-07-30 20:06:33 +02:00
bel
74ca308238 Try to reactivate HTTPS test (test if this works in CI integration test environment) 2015-07-30 19:57:04 +02:00
bel
9fef901840 Unit test needs a newline at the end of file, otherwise clang integration tests will fail 2015-07-30 00:03:24 +02:00
bel
b249a2f69f More unit tests 2015-07-29 23:55:55 +02:00
bel
03d5785b3c More unit tests 2015-07-29 22:32:51 +02:00
bel
8722b8153a Autoformat source 2015-07-29 22:23:03 +02:00
bel
bf0e85ac0a More unit tests 2015-07-29 22:21:55 +02:00
bel
a05056b252 More unit tests 2015-07-29 21:56:49 +02:00
bel
90d4dd6a99 More unit tests 2015-07-29 21:46:42 +02:00
bel
b21b3b6661 Set TODO mark to rewrite mg_upload (#180) 2015-07-29 19:47:46 +02:00
bel
0e5206006c Store return value of callbacks as status code for the access log
See #178
2015-07-28 22:07:18 +02:00
bel
e5cd69ef3c Autoformat source code 2015-07-28 21:33:26 +02:00
bel2125
1ee06dabaa Merge pull request #181 from mapero/master
Support Sec-WebSocket-Protocol header tag
2015-07-28 21:16:44 +02:00
Jochen Scheib
e1917feb0d Fix: error: suggest parentheses around assignment used as truth value 2015-07-28 10:35:35 +02:00
Jochen Scheib
970b8dd643 Support Sec-WebSocket-Protocol header tag 2015-07-28 10:20:07 +02:00
bel
3eacf14e5c Rewrite string handling (Step 10/?) 2015-07-27 23:06:49 +02:00
bel
e41fb47332 Rewrite string handling (Step 9/?) 2015-07-27 22:31:58 +02:00
bel
5c0092e0a7 Rewrite string handling (Step 8/?) 2015-07-27 22:28:32 +02:00
bel
af0eca2684 Rewrite string handling (Step 7/?) 2015-07-27 22:17:41 +02:00
bel
4a84bd11fe Rewrite string handling (Step 6/?) 2015-07-27 21:44:02 +02:00
bel
125049597b Fix or mark some issues from static code analysis 2015-07-27 21:09:40 +02:00
bel
fb48aaa354 Rewrite string handling (Step 5/?) 2015-07-26 23:37:55 +02:00
bel
df207abae5 Rewrite string handling (Step 4/?) 2015-07-26 21:37:34 +02:00
bel
e6a293590d Allow scripts to use the PATCH HTTP method (RFC 5789)
See https://tools.ietf.org/html/rfc5789

This method is only allowed for CGI, Lua/LSP scripts and callbacks,
not for static resources such ase files.
2015-07-26 21:08:59 +02:00
bel
ec81082452 Rewrite string handling (Step 3/?)
Check consequences of string truncation for all mg_(v)snprintf uses.
Add TODO(high).
2015-07-26 00:15:37 +02:00
bel
b469698e9a Rewrite string handling (Step 2/?) 2015-07-25 23:49:45 +02:00
bel
8ea5607c54 Rewrite string handling (Step 1/?)
Replace all uses of (v)snprintf by mg_(v)snprintf
See issue #175
(Step 1 is a commit of a partial work and will not build)
2015-07-25 22:53:24 +02:00
bel
622ea2f659 Clang-Format every source file 2015-07-25 19:51:24 +02:00
bel
61879c6d35 perform mg_get_var and mg_get_cookie in the same unit test with proper name 2015-07-25 19:42:13 +02:00
bel
30ca38745a mg_get_var unit test 2015-07-25 19:18:55 +02:00
bel
b335a42d19 mg_get_var unit test 2015-07-25 19:15:07 +02:00
bel
7c413551fc mg_get_var unit test 2015-07-25 18:59:27 +02:00
bel
224d339cdc mg_get_var unit test 2015-07-25 18:51:38 +02:00
bel
de2d9cf39e mg_get_var unit test 2015-07-25 18:49:31 +02:00
bel
34716ac85a Found asymmetry in API - add TODO 2015-07-25 18:42:53 +02:00
bel
6414e21637 Again more unit tests 2015-07-25 18:35:11 +02:00
bel
f6b254e9a7 Unit test: url encoding in not unique 2015-07-25 18:05:11 +02:00
bel
7071633382 Fix copy/paste error in unit test 2015-07-25 17:54:45 +02:00
bel
82be785f9f Fix bugs in unit tests 2015-07-25 14:50:55 +02:00
bel
8bc9bedd58 Fix signed/unsigned mix in unit tests 2015-07-25 14:31:31 +02:00
bel
1c2cd7dbbb Add more unit tests 2015-07-25 14:20:54 +02:00
bel
5b19040a5c Add test_parse_port_string unit test 2015-07-25 13:50:45 +02:00
bel
f3d028713e Encoding/decoding test should also test url encoding 2015-07-25 13:23:33 +02:00
bel
8a65123257 Add some none non alpha string to the encoding/decoding test 2015-07-25 10:52:25 +02:00
bel
27645fb306 Fix warnings in unit test 2015-07-25 00:03:14 +02:00
bel
a6bc447564 Variables could be unused in unit test 2015-07-24 23:57:13 +02:00
bel
ff5d5c3db8 Add deleted ) in unit test 2015-07-24 23:53:13 +02:00