Willi Goesgens
53a37ae387
Fix timeouts - followup of #cc427f9b1c0e28fec5abc312df606229195db7b8
...
- use TRI_microtime() instead of copying it with the name 'now()'
- handle select-timeouts on non linux platforms.
2015-05-26 15:55:36 +02:00
Max Kellermann
c9075aeacf
lib/SimpleHttpClient: don't reset timeout after EINTR
...
select() modifies the given timeout variable. Calling select() again
will run with the remaining timeout. However, method prepare()
overwrote the reduced timeout in each iteration.
2015-05-26 15:03:11 +02:00
Jan Steemann
882f233fd8
constify
2015-05-21 09:56:37 +02:00
Jan Steemann
771f2db94b
cleanup
2015-05-11 17:26:42 +02:00
Jan Steemann
bb3f208a9b
use block scope
2015-05-08 18:02:45 +02:00
Willi Goesgens
9018757846
If an HTTP-Requests fails, put the error message into the status object, so we can see more reasons in cluster errors.
2015-05-04 17:20:39 +02:00
Jan Steemann
32b547886b
fixed up some headers
2015-04-24 13:11:29 +02:00
Frank Celler
ffbc45d2e2
new HttpServer & HttpCommTask
...
Conflicts:
Makefile.in
arangod/Aql/RestAqlHandler.cpp
arangod/Aql/grammar.cpp
arangod/Cluster/RestShardHandler.cpp
lib/GeneralServer/GeneralServer.h
lib/GeneralServer/GeneralServerDispatcher.h
lib/HttpServer/HttpServerJob.h
lib/HttpServer/HttpsCommTask.h
lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Willi Goesgens
713a3fc657
Follow compile of openssl V 1.0.2: SSLV3 is deprecated.
2015-02-25 17:16:44 +01:00
Jan Steemann
0327608582
moved variable declaration
2015-02-17 17:55:15 +01:00
Jan Steemann
5da33a41d5
fixed memleak
2015-02-17 17:41:40 +01:00
Willi Goesgens
b3684891d3
More work on getting smart error messages.
2015-02-02 17:55:13 +01:00
Willi Goesgens
85e5bc22d9
Propper error messages for windows and posix.
2015-01-30 14:38:32 +01:00
Willi Goesgens
73023291e9
Add SSL error handling inspired by curl; make shure the user gets the message.
2015-01-29 09:52:08 +01:00
Max Neunhoeffer
e7d94bf81d
Put a loop around select() to take care of EINTR.
2014-12-03 23:45:20 +01:00
Max Neunhoeffer
6e2aed2732
Take out cout debugging output.
2014-12-03 23:37:16 +01:00
Max Neunhoeffer
0fb6ef1968
Fix SimpleHttpClient for the n+1 time.
...
Still with debugging output.
2014-12-03 23:31:20 +01:00
Max Neunhoeffer
8182539b66
Introduce invariants in processHeader.
2014-12-03 16:46:18 +01:00
Max Neunhoeffer
7fd0260add
Yet more printouts.
2014-12-03 13:30:43 +01:00
Max Neunhoeffer
f5e5617155
One more cout.
2014-12-03 11:47:22 +01:00
Max Neunhoeffer
4b099281aa
Take some couts out to reproduce bug.
2014-12-03 11:17:23 +01:00
Max Neunhoeffer
d938a77531
Take out some couts to reproduce error.
2014-12-03 10:47:26 +01:00
Max Neunhoeffer
776ce77452
Fix a segfault in my couts.
2014-12-03 10:20:54 +01:00
Max Neunhoeffer
41785104d5
Even more couts.
2014-12-03 09:47:20 +01:00
Max Neunhoeffer
658256059f
Yet more couts.
2014-12-03 09:44:22 +01:00
Max Neunhoeffer
41b01b78bc
Even more couts.
2014-12-03 09:29:02 +01:00
Max Neunhoeffer
4125ffc5b1
Add some couts to finally debug SimpleHttpClient and shell-fm test.
2014-12-03 09:11:10 +01:00
Max Neunhoeffer
dbf1f66841
Fix SimpleHttpClient for the n+1 time. Some major cleanup done.
...
Added a lot of comments to explain why it should work now properly.
2014-11-16 19:56:58 -05:00
Frank Celler
ff199b60eb
fixed server gone reconnet
2014-11-16 20:58:02 +01:00
Frank Celler
cefba69ab5
fixed chunked again
2014-11-15 17:52:10 +01:00
Frank Celler
5a783df66f
removed while loop
2014-11-15 17:19:26 +01:00
Frank Celler
77fd12b987
fixed SimpleHttpClient
2014-11-14 23:50:00 +01:00
Jan Steemann
beafbe6a5c
fixed invalid reads
2014-11-07 11:57:26 +01:00
Jan Steemann
ccd20d7638
do not print broken error message
2014-10-28 01:02:24 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
40e62e95a5
fixed out-of-scheduler-threads issue
2014-10-20 18:27:50 +02:00
Jan Steemann
e28ad821b0
fixed spuriously occurring "database not found" error
2014-10-02 15:34:38 +02:00
Jan Steemann
f3186fa065
cppcheck
2014-09-29 17:02:40 +02:00
Jan Steemann
c8fba4c9be
fixes for Visual Studio
2014-09-24 15:41:26 +02:00
Jan Steemann
1c134bd8a7
fixed off by one errors
2014-09-24 15:15:06 +02:00
Jan Steemann
dbf964e204
small optimizations
2014-09-24 12:09:13 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
669cb3b235
renamed files
2014-09-13 01:44:01 +02:00
Jan Steemann
42ba273589
prevent assertion failure
2014-07-02 18:52:29 +02:00
Jan Steemann
98a0ef0ded
prevent endless connection attempts by arangosh
2014-07-02 15:18:24 +02:00
Jan Steemann
40473b58b7
safety
2014-07-02 12:19:28 +02:00
Jan Steemann
1b92282b32
less string buffer moves
2014-06-27 23:58:19 +02:00
Jan Steemann
76de1ae762
cppcheck
2014-06-27 22:20:17 +02:00
Frank Celler
6936972d08
updated disclaimer
2014-06-20 16:41:35 +02:00
Jan Steemann
b3d18d0deb
cppcheck
2014-06-16 09:50:38 +02:00