Eric Frias
362884fc52
Import GNTP notification code
2014-08-21 15:21:48 -04:00
Nathan Hourt
9e75d47ba3
Fix to an issue causing a thread to exit if any fiber therein self-cancels
2014-08-21 14:36:29 -04:00
Daniel Larimer
8468f392ce
default to_string conversion is now fixed
2014-08-13 16:06:42 -04:00
Eric Frias
92d29ac657
Prevent crash at shutdown rescheduling NTP task
2014-08-12 15:19:44 -04:00
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
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
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
c208a968b2
Fix ntp on win32
2014-07-25 14:40:47 -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
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
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
e442b29f6e
Fix scrypt
2014-07-14 13:40:33 -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
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
Vikram Rajkumar
c9c56ffbb6
Merge branch 'master' of https://github.com/InvictusInnovations/fc
2014-07-03 17:24:14 -04:00
Vikram Rajkumar
e9b1b8ec2e
Use a separate thread for log compression
2014-07-03 17:24:06 -04:00
Eric Frias
c020913cb8
Make process::exec take an 'int' for the bitmask of launch options instead of an enum to make it more clear that it's a bitmask (and avoid a cast)
2014-07-03 09:30:50 -04:00
Vikram Rajkumar
adf8c10ee5
Fix Linux compilation
2014-07-03 02:55:30 -04:00
Vikram Rajkumar
223f0005f5
Hardlink from most recent log to original filename during rotation
2014-07-03 02:55:30 -04:00
Vikram Rajkumar
b522f12a0e
Use ISO format timestamps for rotated log files
2014-07-03 02:17:03 -04:00
Vikram Rajkumar
b1e677bcee
Implement optional LZMA compression for rotated logs
2014-07-03 01:27:58 -04:00
Vikram Rajkumar
cc1ef61cd6
Logs are now rotated on startup if rotation is enabled
2014-07-03 01:16:46 -04:00
Vikram Rajkumar
39c7f05ea9
Implement LZMA file decompression
2014-07-03 00:01:02 -04:00
Vikram Rajkumar
f56dd6d208
Implement LZMA file compression
2014-07-02 23:28:43 -04:00
Vikram Rajkumar
c0187865ea
Implement log file rotation
2014-07-02 17:36:21 -04:00
Daniel Larimer
aab316d190
update time pretty print, adding space after year
2014-07-01 15:20:58 -04:00
Daniel Larimer
13da4b0d6a
improve socket error handling
2014-06-30 10:50:50 -04:00
Eric Frias
160da5dbb9
Fix invalid iterator comparison in process_canceled_tasks when canceling the only task in task_sch_queue
2014-06-29 18:50:05 -04:00
Daniel Larimer
c33acad0ab
fix udt sockets, actually enable non blocking operation
2014-06-29 01:38:46 -04:00
Daniel Larimer
892df5c0b7
canceled scheduled tasks return immediately when waited upon
2014-06-28 21:46:10 -04:00
Daniel Larimer
ffa617183e
if a task is canceled before it is run, then it will throw a canceled exception
2014-06-28 21:08:15 -04:00
Daniel Larimer
d2072e9d3a
updates to thread / udt socket
2014-06-26 20:10:56 -04:00
Daniel Larimer
8670a4722f
Merge branch 'master' of https://github.com/InvictusInnovations/fc
2014-06-26 20:10:37 -04:00