8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-29 06:43:03 +01:00
Commit Graph

278 Commits

Author SHA1 Message Date
robocop
09a087e458 Comments. 2009-04-15 13:41:22 +00:00
alexpeshkoff
78ef36a730 cleanup 2009-04-15 09:58:18 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
alexpeshkoff
ac92e643e6 Cleanup - events delivery using unix signals is not used any more 2009-03-16 16:31:51 +00:00
hvlad
c574a32c39 Fixed bug CORE-2356 : On Windows listener process of Classic Server can't create necessary resources after restart if any worker process was present 2009-03-07 22:25:57 +00:00
hvlad
d4e7e15b85 Correction for my patch re. errors at graceful socket shutdown 2009-03-07 20:21:10 +00:00
hvlad
de11e4037a Don't report wrong error at graceful socket shutdown.
Misc.
2009-03-01 10:35:43 +00:00
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