Commit graph

758 commits

Author SHA1 Message Date
Eric Frias
978de7885a Add a macro to check if a task that shouldn't yield actually yields. 2014-08-02 19:43:28 -04:00
Eric Frias
8fa21821ae Suppress "inherited via dominance" warning 2014-08-02 15:49:07 -04:00
Daniel Larimer
6e31ffd963 Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-08-01 17:21:24 -04:00
dnotestein
7cc69f3bb7 Set canceled flag in task's context object so that we cancel out of active tasks when they try to resume. Wrap a try-catch block around tcp and udp resolve requests to convert any non-fc exceptions to fc exceptions. Minor change to clarify design intent that request_time_task should always be running in _ntp_thread. 2014-08-01 11:31:36 -04:00
PaulEU
eae493a8c1 Remove unnecessary code from init_openssl after update new OpenSSL package. 2014-07-29 23:44:47 +02:00
Daniel Larimer
3ccbe26dd5 adding aes exception 2014-07-29 13:54:50 -04:00
Vikram Rajkumar
a23f3a86be Add missing integer variant conversions 2014-07-28 22:36:47 -04:00
Vikram Rajkumar
f644b1e475 Fix compiler warning 2014-07-27 20:46:39 -04:00
Eric Frias
d847f6469a Allow us to require assigning descriptions to all async tasks to aid in debugging 2014-07-27 17:37:21 -04:00
dnotestein
9e320a3db8 Add descriptions for a bunch of async tasks, remove logging during thread::quit to avoid crashes for now until we cleanup thread quit code 2014-07-27 00:09:15 -04:00
Vikram Rajkumar
3be05ef822 Merge branch 'master' of github.com:InvictusInnovations/fc 2014-07-26 22:29:22 -04:00
Vikram Rajkumar
48837f3116 Add time_point_sec::to_iso_{extended_}string() 2014-07-26 21:05:11 -04:00
Eric Frias
b460fd6b41 Cleanup all async tasks on exit, thread safety, work in progress. 2014-07-26 18:22:38 -04:00
Eric Frias
600ae24657 separate one try/catch into two blocks during file_appender destructor 2014-07-26 15:05:26 -04:00
Eric Frias
24ba357b0d Make future's cancel_and_wait automatically swallow the canceled_exception since it is expected. 2014-07-26 14:51:48 -04:00
Eric Frias
c208a968b2 Fix ntp on win32 2014-07-25 14:40:47 -04:00
Vikram Rajkumar
8fff034711 Fix linux clang compilation 2014-07-24 15:33:56 -04:00
dnotestein
34296fbb4a Eliminate local variable that was shadowing data member variable stack_ctx in context object, which resulted in an assert when the context object was destructed. 2014-07-24 15:18:53 -04:00
Nathan Hourt
a254e5ff28 Merge branch 'master' of github.com:InvictusInnovations/fc 2014-07-23 11:59:48 -04:00
Nathan Hourt
523fa56d88 Bugfix: Incorrect ordering of newline and carriage return in HTTP server
The HTTP server was printing "\n\r" at the end of lines in the response
headers, which is invalid and caused some HTTP clients to detect an end
to the headers after the first header line.

The server now prints the proper "\r\n" sequence, which is parsed
correctly by clients.
2014-07-23 11:56:57 -04:00
Gandalf-the-Grey
9aa7700d06 Fix for Linux needed to build Keyhotee. 2014-07-23 10:15:46 -04:00
PaulEU
4890351b34 Added OpenSSL configuration file path. (qt_wallet issue #10 Some clients on Windows 7 quit/crash on start) 2014-07-23 00:18:09 +02:00
Gandalf-the-Grey
2d51fd7321 Fix compile fc on Win64 tcp_socket needs a bit (two dozens of) more space. 2014-07-22 10:04:55 -04:00
Nathan Hourt
eb022cef27 Merge branch 'master' of github.com:InvictusInnovations/fc
Conflicts:
	.gitignore
2014-07-22 10:00:25 -04:00
Eric Frias
0a1011ddc9 Fix win32 compile (increase size of tcp_socket) 2014-07-21 10:40:21 -04:00
Daniel Larimer
6ef73a4198 reduce default stack size by 50% to 4x default from 8x 2014-07-17 23:03:23 -04:00
Daniel Larimer
eed62c8338 sockets now wait for any pending write or read operations to finish before destructing 2014-07-17 17:03:25 -04:00
Daniel Larimer
01202aa709 adding space to exception message 2014-07-16 14:20:36 -04:00
Eric Frias
b6f8570c35 Lock mutex during more of the log rotation process (attempting to prevent crashes that have been seen while logging at the same time as log rotation) 2014-07-16 13:39:14 -04:00
grzegorzs
06fe9e0303 [GS] Fix types u_int32_t to uint32_t etc. - continued 2014-07-15 14:20:42 +02:00
Vikram Rajkumar
1b15ad0a7a Fix linux clang compilation (for real) 2014-07-14 21:51:45 -04:00
Eric Frias
f2cbb650c6 Merge branch 'master' of github.com:InvictusInnovations/fc 2014-07-14 19:26:17 -04:00
Eric Frias
c28ccd2413 Fix wacky types u_int32_t to uint32_t &c 2014-07-14 19:25:54 -04:00
Vikram Rajkumar
d31f5525a4 Fix linux clang compilation 2014-07-14 14:56:23 -04:00
Vikram Rajkumar
e442b29f6e Fix scrypt 2014-07-14 13:40:33 -04:00
Vikram Rajkumar
506f896de4 Re-enable romix compilation 2014-07-14 10:46:15 -04:00
Nikolai Mushegian
de3e2610a5 Merge pull request #36 from vikramrajkumar/master
compilation fixes
2014-07-12 18:04:13 -04:00
Vikram Rajkumar
caae9e640f Fix travis compilation error 2014-07-12 17:59:09 -04:00
Vikram Rajkumar
f0604edabb Merge github.com:vikramrajkumar/fc 2014-07-12 17:26:53 -04:00
Nathan Hourt
7260b6106f Update .gitignore: ignore .cbp files (cmake artifact)
Conflicts:
	.gitignore
2014-07-11 13:49:27 -04:00
Eric Frias
87196008d4 Rephrase task_cancel tests in the form of a boost_test. 2014-07-09 15:23:18 -04:00
Nathan Hourt
4d2f8e72fc Update .gitignore: ignore .cbp files (cmake artifact) 2014-07-09 11:33:48 -04:00
Eric Frias
a034239313 Add missing include 2014-07-07 12:36:34 -04:00
Eric Frias
62ea4ae9c3 Add mutexes to make OpenSSL thread safe 2014-07-07 12:22:01 -04:00
Vikram Rajkumar
9b8c71562c Fix CMake warning 2014-07-05 19:42:14 -04:00
Nikolai Mushegian
49cbe600f9 Merge pull request #35 from vikramrajkumar/master
Fix log rotation scheduling bug
2014-07-05 16:33:09 -04:00
Vikram Rajkumar
18611eccb9 Fix log rotation scheduling bug 2014-07-05 16:22:25 -04:00
Daniel Larimer
ace06d775c support for 8 param rpc calls 2014-07-04 17:23:47 -04:00
Nikolai Mushegian
0fced2ddff Merge pull request #34 from vikramrajkumar/master
Log rotation improvements
2014-07-03 19:01:14 -04:00
Vikram Rajkumar
c9c56ffbb6 Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-07-03 17:24:14 -04:00