Commit Graph
2933 Commits
Author SHA1 Message Date
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
Tim Rühsen 3b57d62c21 Fix memleak in example 2019-04-14 19:08:07 +02:00
Evgeny Grin (Karlson2k) 1f1f8a50be VC builds: fix asserts and release builds 2019-04-14 14:45:52 +02:00
Evgeny Grin (Karlson2k) 8b8c300312 bootstrap: improved shell compatibility,
removed unneeded 'aclocal' execution,
removed '-f' autoreconf argument,
added wrapper script autogen.sh
2019-04-10 14:38:34 +03:00
Christian Grothoff 312713c363 merge 2019-04-08 15:12:45 +02:00
Christian Grothoff 83a86be948 fix close() checks 2019-04-08 15:12:20 +02:00
Christian Grothoff 1b610e5b13 allow binary zero in unescaped GET arguments (see mailinglist) 2019-03-20 10:46:21 +01:00
silvioprog e2c268e379 Added example for how to compress chunked HTTP response. 2019-02-10 21:13:57 -03:00
Christian Grothoff 154d0fd6a1 adjusting digest auth to previous regression fix, releasing 0.9.63 v0.9.63 2019-02-10 17:13:03 +01:00
Christian Grothoff f6ee589dc9 add test for &-URI parsing and URI logging 2019-02-09 13:51:53 +01:00
Christian Grothoff d640ad8212 preliminary patch for query string issue reported on the ML 2019-02-07 16:16:56 +01:00