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
hvlad
9318660f3a
Finish cleanup in remote started by Alex (remove ALLR etc)
2008-03-25 18:58:31 +00:00
alexpeshkoff
6809f624fc
Remote cleanup:
...
1. Avoid ALLR memory allocation routine (use new / delete).
2. Use common (TypedHandle) class to control consistency of handles.
3. Make ctors and dtors work - in most cases more work is needed to make them meaningful.
2008-03-24 15:28:38 +00:00
asfernandes
18f879a678
Misc
2008-03-23 18:21:49 +00:00
hvlad
5cb43d8f03
Fixed CORE-1763 : The client library does not set options SO_KEEPALIVE, TCP_NODELAY for socket at connection
2008-03-21 15:39:42 +00:00
alexpeshkoff
2ba77dbed5
Fixed races when using uninitialized object in unhook_disconnected_ports - thanks to Dmitry Kovalenko
2008-03-21 09:12:43 +00:00
asfernandes
3aca6f92b1
Misc
2008-03-21 02:42:24 +00:00
alexpeshkoff
3e95789206
Cleanup
2008-03-17 09:08:48 +00:00
asfernandes
262dbadc4f
Misc
2008-03-15 17:55:27 +00:00
hvlad
5c2300fc65
Fixed few my mistakes noted by Claudio
2008-03-15 13:46:28 +00:00
robocop
d9d95267a7
A bit more readable and more friendly with source code analysis tools (including code completion in editors).
2008-03-15 10:27:49 +00:00
hvlad
2423a4bc3e
Use EnsureUnlock where appropriate. Remove not used thread accounting in CNTL. Fix few mistakes\typos in my previous commit.
2008-03-13 13:48:05 +00:00
alexpeshkoff
627e7f2846
Fixed unexpected server exits. Slightly better diagnostics for them added.
2008-03-13 12:05:49 +00:00
robocop
d5ff786e3d
Misc.
2008-03-13 10:41:38 +00:00
dimitr
ff090e6a7b
Cleanup.
2008-03-12 16:42:51 +00:00
hvlad
4115317607
Make remote module thread-safe, remove THREAD_EXIT\THREAD_ENTER from it, refactor server code and some cleanup. To be continued. Please check posix builds.
2008-03-11 14:11:32 +00:00
robocop
2912e6a5be
Cleanup and misc.
2008-03-10 08:44:07 +00:00
robocop
c6d8b0f46f
Style.
2008-03-05 08:39:26 +00:00
alexpeshkoff
00c63c1f8d
1. Make signals handling in yValve MT safe.
...
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
alexpeshkoff
48f80bc4a3
fixed races during server shutdown
2008-02-06 17:26:35 +00:00