robocop
41efd08618
Comment flag that I marked as unused years ago.
2009-02-25 05:38:27 +00:00
asfernandes
b204a1e54f
Misc
2009-02-21 17:43:07 +00:00
alexpeshkoff
c69863bdd5
Clean up - code was not needed since security fix, avoiding use of UID, transfered by client
2009-02-20 16:13:32 +00:00
robocop
546290b68b
Style.
2009-01-16 09:55:38 +00:00
alexpeshkoff
832394fd5a
cleanup suggested by Claudio
2009-01-15 10:22:03 +00:00
robocop
f1fab1b53c
Style.
2009-01-14 12:37:23 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
alexpeshkoff
e7355ab712
misc
2008-12-30 15:16:47 +00:00
hvlad
9bcfe005cb
Wait for end of all server's threads (at fb_shut_finish handler) to ensure no threads will access global variables (mutexes) during gds__cleanup phase of process shutdown. It must guarantee no races and AV's during process shutdown.
2008-12-11 11:49:52 +00:00
asfernandes
744e83f240
Misc
2008-12-03 01:05:53 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
hvlad
2b6ba03d63
Implement new option (fb_cancel_abort) for fb_cancel_operation(). It allows forcebly close client port and allow application to shutdown even it wait of execution finish of some long running query. Use carefull !
...
Not implemented for WNET, work in progress.
2008-11-27 22:59:42 +00:00
hvlad
a1ccc92d67
Fixed brocken -d mode of CS.
...
Fixed AV in CS worker process (there was double deallocation of port).
Add missed mutex control when port's list accessed.
2008-11-04 14:20:57 +00:00
robocop
66f41f7986
Simplify the #ifdef.
2008-10-16 08:52:16 +00:00
alexpeshkoff
38a8b41c7f
Avoid annoying messages in firebird.log
2008-10-10 15:50:07 +00:00
asfernandes
ac600b29d7
Misc
2008-10-09 00:59:56 +00:00
hvlad
c56ebce7bc
Fixed bug CORE-2107 : Failed to establish TCP\IP connection with Windows Classic Server under high load
2008-10-04 17:14:51 +00:00
asfernandes
e25ab5a1c6
Misc
2008-09-27 02:54:30 +00:00
robocop
b461e728ad
Make inet_aton a function i Windows.
2008-09-24 11:27:37 +00:00
robocop
e1487d3684
inet_aton() does not exist in Windows.
2008-09-24 09:27:11 +00:00
asfernandes
3bf8ec8fb2
Misc
2008-09-24 02:02:38 +00:00
alexpeshkoff
14f21f568e
1. Fixed CORE-2087: server binds to all interfaces in case of error in firebird.conf.
...
2. Fixed CORE-2093: Superserver startup fails on solaris / 64 bit.
3. Improvement CORE-2094: Make it possible to use hostname when specifying interface to listen on in firebird.conf.
Almost impossible to separate: came in one week and required modifications in same part of code.
2008-09-22 14:46:13 +00:00
asfernandes
22c65f0153
Misc
2008-09-10 02:21:13 +00:00
alexpeshkoff
eecaa826e3
Cleanup - put two exit handlers with different tasks into separate functions
2008-09-08 13:59:53 +00:00
asfernandes
96194d08ba
Misc
2008-08-31 01:10:41 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
alexpeshkoff
ff7cfc717e
Implemented Adriano's suggestion concerning fb_shutdown_callback() - added new parameter
2008-05-22 08:59:45 +00:00
alexpeshkoff
86cd8cb6b3
1. Added parameter 'shutdown reason' to fb_shutdown() API call. It's passed to shutdown
...
callback function, and helps to take correct action in it. This fixes CORE-1827: Win32
Embedded Server should pass control to application before calling exit(3).
2. Removed unneeded any more flag in isql and qli, used earlier to distinguish between
kinds of shutdown.
2008-05-16 11:31:57 +00:00
robocop
8a28565ea7
Misc.
2008-05-08 08:19:50 +00:00
hvlad
9280a572a0
Avoid long blocking of att_mutex and make sure it is always released when attachment deleted.
...
Move active requests cancellation at engine shutdown from Y-valve into engine and let them stop execution before deletion of attachments.
Make sweep run in separate thread despite of engine architecture.
2008-05-04 12:49:29 +00:00
asfernandes
8d04f25fb3
Misc
2008-04-30 01:42:09 +00:00
alexpeshkoff
1b20fba1e9
Fixed "-s" switch in posix CS
2008-04-29 08:15:36 +00:00
asfernandes
e18ac3cb53
Misc
2008-04-24 01:53:40 +00:00
hvlad
3c353209d2
Implement CORE-818 : Server needs to detect disconnects.
...
For INET only.
2008-04-23 09:38:15 +00:00
alexpeshkoff
8a1b11482f
Fixed races during disconnect
2008-04-21 09:53:28 +00:00
dimitr
46adac380c
Misc.
2008-04-20 14:35:23 +00:00
dimitr
c74650aa5f
Fixed CORE-1357.
2008-04-20 14:02:51 +00:00
asfernandes
d75951e8e5
Misc
2008-04-18 01:37:44 +00:00
alexpeshkoff
3c35984950
fixed gcc compilation
2008-04-17 16:25:23 +00:00
hvlad
b59d7731ec
Ensure port can't be deleted ... addition
2008-04-16 14:19:58 +00:00
hvlad
cd4d7ec93d
Ensure port can't be deleted by another thread while receiving data (usual socket disconnect event) during disconnect. Just hold one more reference to it.
2008-04-16 12:48:28 +00:00
robocop
5294fda616
Misc.
2008-04-15 09:31:35 +00:00
asfernandes
79f8d2ceef
Misc
2008-04-15 00:57:19 +00:00
alexpeshkoff
b0cc1c0481
Implemented remote cancel operation call. Switched to PROTOCOL_VERSION12.
2008-04-14 09:45:16 +00:00
asfernandes
0adc1aa1f9
Misc
2008-04-04 02:14:17 +00:00
alexpeshkoff
6699ab0e15
Fixed CORE-1807: fbserver assigned to non-canonical port
2008-04-03 15:01:40 +00:00
robocop
b2e8da134f
Trying to fix the interface again.
...
Sorry for going back and forth with constness, but in some cases it was impossible to ensure that input params aren't overwritten, thus I took const away to avoid making promises that can't be met (see the case of fetch that uses a supposedly input-only param to return data). Overwriting memory that was declared const initially is a serious error in C++ with undefined outcome so we better do not lie.
2008-04-03 10:17:24 +00:00
alexpeshkoff
4e5a83e767
1. Make remote port RefCounted object.
...
2. Removed deferred cleanup hack.
3. Fixed races when events are delivered - thanks to Vlad.
2008-03-27 10:15:05 +00:00
hvlad
2e7374735e
Restore accidentally deleted lines
2008-03-26 14:20:43 +00:00