1
0
mirror of https://github.com/lammertb/libhttp.git synced 2026-01-27 08:02:47 +03:00
Commit Graph

543 Commits

Author SHA1 Message Date
Lammert Bies
b2a4b476e1 Removed LUA script file 2016-12-08 03:59:53 +01:00
Lammert Bies
a5ab4bf409 Removed several obsolete resources and tests 2016-11-16 04:44:24 +01:00
bel
bf2468a880 Fix recent changes in parse_port_string 2016-09-18 20:27:00 +02:00
bel
55cca2da03 Fix copy/paste error in test 2016-09-18 19:22:45 +02:00
bel
be17586511 Adapt unit test for the new parameter of parse_port_string 2016-09-18 15:56:32 +02:00
bel
7f7eaad07e Truncate strings in the test, so string compare functions can be used in the test (test framework does not support memcompare functions) 2016-08-21 22:45:52 +02:00
bel
aeb8721503 Adapt test to changes in remove_double_dots_and_double_slashes 2016-07-23 22:18:29 +02:00
bel
4abc5be165 Use CMAKE_BUILD_TYPE instead of hard coded "Release" 2016-06-25 00:08:58 +02:00
bel
8be52568e8 Add new unit test 2016-06-10 21:47:21 +02:00
bel
150ad4a2e7 Add test for multiline header and do not allow spaces (#318) 2016-06-10 19:33:23 +02:00
bel
7accd96c7e RFC 7230 obsoletes multiline header from RFC 2616
According to
https://tools.ietf.org/html/rfc7230#section-3.2.4
multiline header can return "400 Bad Request".

See #318
2016-06-09 22:20:16 +02:00
bel
bade30120f Remove excess lines in test (copy paste error), see #318 2016-06-08 22:26:40 +02:00
Kevin Wojniak
55f3e39ceb Fix "Macro name is a reserved identifier" on OS X
This also more accurately only sets these definitions for MSVC.
2016-05-28 14:10:52 -07:00
bel
30cf20fd4f More unit tests 2016-05-27 11:58:05 +02:00
bel
3111f8b542 Improve handle_form unit test 2016-05-26 23:37:22 +02:00
bel
aa72df0348 Improve handle_form unit test 2016-05-26 23:37:19 +02:00
bel
2fa5c6d0f4 Enhanced unit test for form handling 2016-05-25 22:35:15 +02:00
bel
38d81433a9 Add tests for storing form data 2016-05-24 22:40:57 +02:00
bel
914ad2256d Add new feature value 2016-05-24 21:24:26 +02:00
bel
23f8726eed Try to correct build scripts 2016-05-22 10:56:06 +02:00
bel
500e8ff36a Try to correct build scripts 2016-05-22 10:26:50 +02:00
bel
ca49444b29 Try to correct build scripts 2016-05-22 00:28:52 +02:00
bel
9488e08954 Try to correct build scripts 2016-05-22 00:13:13 +02:00
bel
be79d1e5f9 Try to correct build scripts 2016-05-21 23:20:24 +02:00
bel
41a82e0d50 Try to correct build scripts 2016-05-21 23:13:23 +02:00
bel
35b6a21725 Try to correct build scripts 2016-05-21 22:05:18 +02:00
bel
8c4999e950 Try to correct build scripts 2016-05-21 20:55:35 +02:00
bel
a06ee625f5 Remove unit test for sdup in main.c
main.c is not a part of the CivetWeb library, but only a part of the standalone executable. Which part of main.c is used is heavily depending on the system, since there are a lot of #ifdef for Windows, Linux and OSX. Windows has some graphical user interface, implemented in main.c, while Linux has not. Most parts of main.c can not be tested automatically (with the given framwork), but only manually.
Including small parts of main.c into the automatic unit test will distort test statistics.
2016-05-21 01:21:54 +02:00
bel
1412ac54a3 Add ifdef to test, for configurations without caching 2016-05-18 00:52:49 +02:00
bel
74f2721412 Fix some size warnings in the unit test 2016-05-17 23:51:25 +02:00
bel
c1ecae217b New unit test for HTTP authentication (part 4/4) 2016-05-17 23:44:59 +02:00
bel
4385636c96 Add mg_strcasecmp to the public interface 2016-05-17 22:05:27 +02:00
bel
a48c93eb64 New unit test for HTTP authentication (part 3/?) 2016-05-17 22:00:31 +02:00
bel
23266e11f4 Fix for http authentication 2016-05-16 23:02:05 +02:00
bel
dcac52b0ea New unit test for HTTP authentication (part 2/?) 2016-05-16 22:46:14 +02:00
bel2125
4f544b0db6 New unit test for HTTP authentication (part 1/?) 2016-05-16 21:31:35 +02:00
bel2125
a2178b9045 New test for server side includes (SSI) 2016-05-16 16:01:51 +02:00
bel
3426051cb7 Fix some unit tests 2016-05-15 23:46:12 +02:00
bel
f8e21ddc99 Fix some unit tests 2016-05-15 23:38:19 +02:00
bel
718de605c8 Fix some unit tests 2016-05-15 23:31:24 +02:00
bel
10a8bea4e2 Fix some unit tests 2016-05-15 23:27:34 +02:00
bel
3fcfbd7d8b Fix some issues in new unit tests 2016-05-15 19:17:50 +02:00
bel
243e8e8cdb Fix printf type warning in the unit test 2016-05-15 01:10:34 +02:00
bel
c174189036 Fix printf type warning in the unit test 2016-05-15 01:05:43 +02:00
bel
86159dce25 Add more unit tests 2016-05-15 00:59:35 +02:00
bel
e684111162 Add test for chunked encoding 2016-05-14 22:33:02 +02:00
bel
dcc68823e0 Add unit test for mg_get_server_ports 2016-05-14 21:51:30 +02:00
bel
46dd95298f Add unit test for mg_get_response_code_text 2016-05-14 21:25:33 +02:00
bel
e2508e2298 Auto format code 2016-05-09 20:48:01 +02:00
bel
d781523da5 Mark this file as obsolete with an additional pragma message 2016-05-09 20:47:55 +02:00