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
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
asfernandes
05b90fa684
Eliminate some warnings
2008-01-16 14:37:26 +00:00
dimitr
f25819fb19
The merge continued.
2008-01-16 07:55:28 +00:00
alexpeshkoff
3e0d8ebc5b
Fixed CORE-1603: Possible buffer overflow with long user name
2007-11-19 16:18:59 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
paulbeach
c823619e92
HPUX Port
2007-11-12 15:18:49 +00:00
robocop
a3dfe97258
Parameter blocks are UCHAR streams.
...
Make their length unsigned, too.
2007-10-29 03:23:56 +00:00
dimitr
204b2881e7
Fixed CORE-1460.
...
Make INET to use the same buffer as other transports instead of the hackery usage of p_resp_blob_id.
2007-09-14 06:00:17 +00:00
hvlad
1b06f7802a
Fixed bug CORE-1397 : Possible vulnerability in remote server
2007-08-02 16:26:21 +00:00
alexpeshkoff
ea8ba3370d
Cleaned up mutexes - removed MUTX_T and related macros
2007-06-06 12:37:24 +00:00
robocop
d90bf91fbd
Misc.
2007-06-06 08:08:36 +00:00