Evgeny Grin (Karlson2k)
|
100b8f2fc4
|
Use new MHD_lookup_connection_value_n() function
|
2019-05-03 20:08:19 +03:00 |
|
Evgeny Grin (Karlson2k)
|
d270741b49
|
MHD_get_connection_values_n(): avoid ambiguous 'else'
|
2019-05-03 20:07:15 +03:00 |
|
Evgeny Grin (Karlson2k)
|
650d4685f7
|
Added MHD_get_connection_values_n() function to get keys and
values with size. Can get keys and values with binary zero.
|
2019-05-03 19:06:19 +03:00 |
|
Evgeny Grin (Karlson2k)
|
e0d851cee3
|
MHD_set_connection_value*(): optimization to avoid double strlen().
|
2019-05-03 19:01:16 +03:00 |
|
Evgeny Grin (Karlson2k)
|
203d885e1e
|
test_postprocessor*: fixed to use updated struct MHD_HTTP_Header
|
2019-05-03 18:11:28 +03:00 |
|
Evgeny Grin (Karlson2k)
|
9631f33bdf
|
test_postprocessor_amp: fixed to really test something
|
2019-05-03 17:56:35 +03:00 |
|
Evgeny Grin (Karlson2k)
|
cc5032b853
|
Added MHD_lookup_connection_value_n().
|
2019-05-03 16:48:57 +03:00 |
|
Evgeny Grin (Karlson2k)
|
7e4885da25
|
Fixed strlen(NULL) in bcdff02696
|
2019-05-03 16:37:33 +03:00 |
|
Evgeny Grin (Karlson2k)
|
bcdff02696
|
Disallow binary zero in header and cookies.
|
2019-05-03 15:44:12 +03:00 |
|
Evgeny Grin (Karlson2k)
|
8aa7d23219
|
Partial revert of 1b610e5b13.
Implemented new functions for key and value with binary zero.
Significantly speedup search for key by using key size.
|
2019-05-01 22:12:24 +03:00 |
|
Evgeny Grin (Karlson2k)
|
08ea0cc894
|
response.c: added missing assigment of MHD_HTTP_Header::value_size
|
2019-05-01 22:11:16 +03:00 |
|
Evgeny Grin (Karlson2k)
|
d533ad512a
|
mhd_str: include proper and simpler header
|
2019-05-01 22:11:15 +03:00 |
|
silvioprog
|
19591dfcbe
|
Fixed C++-style comments.
|
2019-04-30 19:23:49 -03:00 |
|
Christian Grothoff
|
58552e93ac
|
applying patch from Tim
|
2019-04-30 15:39:10 +02:00 |
|
Christian Grothoff
|
c3ac4b58de
|
indent fix
|
2019-04-23 19:32:43 +02:00 |
|
Evgeny Grin (Karlson2k)
|
8928b32ebc
|
test_md5.c: added missing include
|
2019-04-21 16:40:53 +03:00 |
|
Evgeny Grin (Karlson2k)
|
436bf9cdf9
|
MSVC projects: Explicitly specified target machines
|
2019-04-21 16:36:31 +03:00 |
|
Evgeny Grin (Karlson2k)
|
fbe1ba9d47
|
mhd_bithelpers.h: used MSVC built-ins to speed-up VC-compiled code
|
2019-04-21 15:02:27 +03:00 |
|
Evgeny Grin (Karlson2k)
|
9e68caa3d7
|
MSVC: Added project for VS2019
|
2019-04-21 14:57:07 +03:00 |
|
Evgeny Grin (Karlson2k)
|
d9506b7d29
|
Headers: better compatibility with MSVC compiler
|
2019-04-21 14:40:45 +03:00 |
|
Evgeny Grin (Karlson2k)
|
d56c41f6f7
|
md5.c/.h: lowered number of included files.
|
2019-04-19 23:00:14 +03:00 |
|
Evgeny Grin (Karlson2k)
|
0c8e7bb1cd
|
MSVC projects: added new source files
|
2019-04-19 22:50:43 +03:00 |
|
Evgeny Grin (Karlson2k)
|
f5970c7804
|
mhd_bithelpers.h: define _MHD_GET_32BIT_LE() and use it in md5.c
|
2019-04-19 22:35:15 +03:00 |
|
Evgeny Grin (Karlson2k)
|
a50b4d566f
|
mhd_bithelpers.h: use bytes swap instead of individual bytes
assignment when endianess is known to significantly speedup MD5 and
SHA256 calculations.
Use built-in bytes swap when available.
|
2019-04-19 22:07:37 +03:00 |
|
Evgeny Grin (Karlson2k)
|
9998ca7690
|
sha256.c: convert to Yoda conditions
|
2019-04-19 12:27:43 +03:00 |
|
Evgeny Grin (Karlson2k)
|
78a903946d
|
sha256_update(): added shortcut for empty data,
avoid wrong/undefined behaviour of memcpy() with null pointer
|
2019-04-19 10:35:35 +03:00 |
|
Evgeny Grin (Karlson2k)
|
866b60aeb9
|
SHA256: rename sha256_digest() -> sha256_finish()
|
2019-04-19 10:33:07 +03:00 |
|
Evgeny Grin (Karlson2k)
|
5cfc039007
|
sha256.h: added missed include
|
2019-04-19 10:05:24 +03:00 |
|
Evgeny Grin (Karlson2k)
|
8d1a7ede98
|
SHA256: reimplemented from scratch,
some ideas are borrowed from LGPLv2.1-licensed Libgcrypt
|
2019-04-19 09:49:51 +03:00 |
|
Evgeny Grin (Karlson2k)
|
2f1e0dcc08
|
.gitlab-ci.yml: added warnings flags, disabled parallel tests
|
2019-04-19 09:45:39 +03:00 |
|
Evgeny Grin (Karlson2k)
|
c7d3fb718c
|
Tests: added test_sha256 for SHA-256 testing
|
2019-04-19 09:16:36 +03:00 |
|
Evgeny Grin (Karlson2k)
|
0b8c463dd8
|
mhd_bithelpers.h: fixed macro for BE mode, added macros to GET/PUT
data in BE mode, added macro for bits rotation
|
2019-04-19 09:08:53 +03:00 |
|
Evgeny Grin (Karlson2k)
|
8c44c704b9
|
.dir-locals.el: fixed language for dictionary
|
2019-04-18 23:59:01 +03:00 |
|
Evgeny Grin (Karlson2k)
|
abb665dd00
|
test_md5: fixed out of buffer reads/writes
|
2019-04-18 23:53:25 +03:00 |
|
Hartmut Goebel
|
713e7b76ea
|
Add a .dir-locals,el for configuring emacs for this project
|
2019-04-18 12:18:52 +02:00 |
|
Evgeny Grin (Karlson2k)
|
3290b1046c
|
Really fix 6c985f4adc
|
2019-04-17 20:52:16 +03:00 |
|
Evgeny Grin (Karlson2k)
|
e67fdd04a8
|
Moved bit manipulation to separate header file.
|
2019-04-17 20:42:34 +03:00 |
|
Evgeny Grin (Karlson2k)
|
aec7a30459
|
mhd_byteorder.h: narrow down includes
|
2019-04-17 20:42:28 +03:00 |
|
Evgeny Grin (Karlson2k)
|
d928d17156
|
Fixed build broken by 6c985f4adc
|
2019-04-17 20:42:28 +03:00 |
|
Evgeny Grin (Karlson2k)
|
6c985f4adc
|
File read block size: move to proper location
|
2019-04-17 15:54:40 +03:00 |
|
Evgeny Grin (Karlson2k)
|
7ce09bd981
|
MD5: optimisation and simplification
|
2019-04-16 10:59:03 +03:00 |
|
Evgeny Grin (Karlson2k)
|
608b77383e
|
MD5: some optimisations for little-endian
|
2019-04-16 10:59:02 +03:00 |
|
Evgeny Grin (Karlson2k)
|
7887edc2b4
|
MD5: count bytes, not bits
MHD do not add bites, no need to count more precise than bytes
|
2019-04-16 10:59:02 +03:00 |
|
Evgeny Grin (Karlson2k)
|
5194dd1615
|
MD5: fixed declaration
|
2019-04-16 10:59:01 +03:00 |
|
Evgeny Grin (Karlson2k)
|
41db082e8a
|
MD5: replaced needless checks with asserts
|
2019-04-16 10:59:01 +03:00 |
|
Evgeny Grin (Karlson2k)
|
2f47f829da
|
test_md5: added tests for md5 calculations
|
2019-04-16 10:59:00 +03:00 |
|
Christian Grothoff
|
1917b86699
|
add flags for TLS option control
|
2019-04-15 17:38:16 +02:00 |
|
Tim Rühsen
|
ef15b53cb1
|
Fix realloc memleak in compress_buf()
|
2019-04-15 00:32:45 +02:00 |
|
Christian Grothoff
|
47a862a9be
|
make Tim happy
|
2019-04-15 00:32:29 +02:00 |
|
Tim Rühsen
|
3ab54c6b3b
|
Narrow scope of variable to succeed scan-build
|
2019-04-14 19:08:10 +02:00 |
|