Adrien Béraud
24efa37846
http: cleanup
2019-12-08 00:25:21 -05:00
Linas Vepstas
c0f14ca59d
Fix duplicated, non-functional log message.
...
Inside the if-statement, the log message will always print zero.
Confusingly, its the same message as the one in the loop above it.
Make the message distinct.
2019-12-07 22:28:35 -05:00
Adrien Béraud
05a66cc1f1
proxy client: use common jsonReader
2019-12-07 22:22:37 -05:00
Adrien Béraud
ed6df8869c
proxy: don't use keep-alive by default
2019-12-07 22:22:37 -05:00
Adrien Béraud
b7d410e1aa
tests: add http tester
2019-12-07 16:23:08 -05:00
Adrien Béraud
77a377a406
http: add OnDone callback
2019-12-07 16:23:08 -05:00
Adrien Béraud
e0b6f152f1
proxy client: add LineSplitter
2019-12-07 16:23:08 -05:00
Adrien Béraud
dd3c789916
proxy server: 0-initialize fields
2019-12-07 16:23:08 -05:00
Adrien Béraud
333087bcba
dhtrunner: fix getNodeInfo using proxy client
2019-12-07 16:23:08 -05:00
Adrien Béraud
5b87090cab
http: use http_parser parsing logic
2019-12-07 16:23:08 -05:00
Adrien Béraud
fffee634f1
proxy client: avoid destroying twice
2019-12-05 18:39:39 -05:00
Adrien Béraud
c4aa272dbb
http/request: add constructor
2019-12-05 18:39:39 -05:00
Adrien Béraud
4ce78bdb4d
c wrapper: link statically when required
2019-12-05 18:35:43 -05:00
Adrien Béraud
f331f39c77
c wrapper: add dht_privatekey_export
2019-12-05 18:35:43 -05:00
Adrien Béraud
17fb92654e
http: check parser before use
2019-12-03 16:45:19 -05:00
Adrien Béraud
294034f00f
proxy client: don't report connectivity failure for aborted requests
2019-12-03 16:21:33 -05:00
Adrien Béraud
36857c1f3d
http/request: add aborted flag and actual status code
2019-12-03 16:21:04 -05:00
Adrien Béraud
7e9f5303bd
github: don't run distcheck
2019-12-02 01:30:56 -05:00
Adrien Béraud
c2780b1ca9
build/autoconf: always build python Makefile
2019-12-02 01:15:38 -05:00
Adrien Béraud
16b798324d
github: disable python
2019-12-02 00:53:27 -05:00
Adrien Béraud
bc850bf00c
build/autotools: use proper path for tools build include
2019-12-02 00:30:37 -05:00
Adrien Béraud
0d8d302128
update argon2
2019-12-02 00:11:08 -05:00
Adrien Béraud
97013badfa
github: install argon2 before configure
2019-12-02 00:06:49 -05:00
Adrien Béraud
31185c24f0
build/autoconf: always build doc Makefile
2019-12-01 23:49:04 -05:00
Adrien Béraud
2f6f8e2ac1
cmake/tools: link with readline dependenciess
2019-12-01 22:46:41 -05:00
zhengfish
8f141951ce
fixed a compiling error in openwrt-18.04.5
...
Signed-off-by: zhengfish <zhengfish@gmail.com >
2019-12-01 22:41:29 -05:00
zhengfish
43d111b7dc
fixed a linking error in openwrt-18.06: undefined reference to 'tgetnum'
...
Signed-off-by: zhengfish <zhengfish@gmail.com >
2019-12-01 22:41:29 -05:00
Adrien Béraud
620ba2a89b
proxy server: fix warning
2019-12-01 21:01:42 -05:00
Adrien Béraud
d1598380db
proxy server: fix build without push notifications
2019-12-01 21:00:27 -05:00
Adrien Béraud
69fe399db0
proxy server: cancelListen on destroy
2019-12-01 20:54:48 -05:00
Adrien Béraud
a60dde2e13
tests: use shutdown
2019-12-01 19:41:02 -05:00
Adrien Béraud
201982b1a9
dhtrunner: don't count cancel as ops
2019-12-01 19:40:44 -05:00
Adrien Béraud
83f2b272a7
dhtrunner: add ongoing op count to node info
2019-12-01 15:07:35 -05:00
Adrien Béraud
7e47d0458a
tests/proxy: cleanup
2019-12-01 14:53:50 -05:00
Adrien Béraud
f6d26757fa
dhtrunner: wait for current ops to complete on shutdown
2019-12-01 14:53:36 -05:00
Adrien Béraud
476d0bca4f
proxy client: lock while canceling requests
2019-12-01 14:52:42 -05:00
Adrien Béraud
259986e786
network engine: don't throw in case of unknown transaction
2019-12-01 14:52:21 -05:00
Adrien Béraud
8ff0c979d4
proxy server: cleanup
2019-11-30 20:36:20 -05:00
Adrien Béraud
913cb543c8
crypto: improve exception types
2019-11-30 19:42:02 -05:00
Adrien Béraud
b380c9ffba
http: cleanup
2019-11-30 18:47:29 -05:00
Adrien Béraud
8c717085b4
cmake: cleanup
2019-11-30 18:11:00 -05:00
Adrien Béraud
48742a1058
tests: fix catching exception
2019-11-30 18:11:00 -05:00
Adrien Béraud
fe11285a03
http: close on request end with Connection: close, cleanup
2019-11-30 18:11:00 -05:00
Adrien Béraud
fb34770a54
http: reuse connection istream, cleanup
2019-11-30 17:21:52 -05:00
Adrien Béraud
4a909419e9
http: handle Request lifetime when sharing resolver/connection
2019-11-30 17:21:52 -05:00
Adrien Béraud
dab7099369
proxy server: cleanup
2019-11-28 22:16:22 -05:00
Adrien Béraud
9c84e59bbf
autotools: update to C++14
2019-11-27 12:12:29 -05:00
Adrien Béraud
eae383b3ed
autotools: remove unneeded macros
2019-11-26 12:46:26 -05:00
Adrien Béraud
28bf78408d
network utils: fix some race conditions
2019-11-26 12:24:37 -05:00
Adrien Béraud
7ed6f74e6b
proxy_server: add mutex to protect requests
2019-11-26 12:24:28 -05:00