kkuznetsov
438005440f
Allow setting TCP_NODELAY socket option in Classic Server
...
and make if default true on both arhitecture.
2005-04-04 12:54:34 +00:00
aafemt
8eeb34967b
no more THD_* stuff in client
2005-03-10 10:23:52 +00:00
robocop
446088ab7b
Fix recent commit by Frank. I cannot compile to verify.
2005-01-29 09:22:36 +00:00
fsg
dbee2f3c8c
get it built again
2005-01-27 13:19:16 +00:00
dimitr
b37a6f707a
Changes and cleanup regarding XNET vs old-style IPC.
2005-01-16 11:25:18 +00:00
aafemt
cf54708af3
Fix fearful warning
2005-01-13 07:31:17 +00:00
alexpeshkoff
80e0be646b
1. fixed AV during SS shutdown on NT
...
2. removed duplicated WSACleanup() call
2005-01-11 10:08:30 +00:00
alexpeshkoff
c5445c969b
user_id clumplet cleanup
2004-12-26 13:48:01 +00:00
robocop
1718ae5a45
Misc.
2004-12-26 04:09:06 +00:00
robocop
4012106884
Misc.
2004-12-25 09:44:03 +00:00
robocop
342a5afcc6
Misc.
2004-12-17 06:22:37 +00:00
robocop
d2b91e9446
Minimize forced casts.
2004-12-17 05:56:04 +00:00
skidder
55c4e0ac85
CLIENT_ADDRESS and NETWORK_PROTOCOL variables support
2004-11-26 01:01:27 +00:00
robocop
c2b5cbc541
Totally misc: consistency with the other places.
2004-11-16 06:16:19 +00:00
alexpeshkoff
6bd833026a
restored broken by me const-correctness in remote
2004-11-15 15:52:57 +00:00
alexpeshkoff
ff5dd732d3
more active use of Firebird::string in remote
2004-11-07 14:44:59 +00:00
robocop
5a33aeef91
Misc: extra semicolons do not help. :-)
2004-11-07 10:38:13 +00:00
dimitr
2d36d98bdc
1) Backport my previous fix from B1_5_Release branch
...
2) Another events-related bugfix
3) Some cleanup
2004-10-20 17:42:36 +00:00
robocop
5b60cf7e33
Put some assertions, a strncpy and a correction of a debug msg
2004-09-24 06:42:39 +00:00
dimitr
a3f7978e5f
Replaced sprintf() with either Firebird::string or snprintf().
...
Got rid of the literal numerics as array bounds.
Minor cleanup.
2004-09-22 20:33:07 +00:00
robocop
362f95df8a
Got rid of some casts that were driving me nuts on each compilation
2004-09-22 08:54:42 +00:00
dimitr
ed0b83ad8a
Fixed issue SF #571026 .
2004-09-05 19:37:43 +00:00
dimitr
b4c3010dc8
Fixed possible SEGV errors in the op_connect handler.
2004-09-04 20:09:24 +00:00
dimitr
95562449e2
Applied patch by Chris Waters to support NAT by the events mechanism.
2004-08-01 17:44:24 +00:00
robocop
320fe78b42
Misc changes
2004-06-21 02:48:47 +00:00
fsg
66e4efb565
Fixed an old bug. Thanks to Torsten Martinsen.
2004-06-14 11:20:37 +00:00
brodsom
b9b39b630e
-Rollback
2004-06-09 18:23:27 +00:00
brodsom
3d09805eab
-C++ struct declaration style.
2004-06-08 18:41:33 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
robocop
441817bd82
1.- Misc changes
...
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
skidder
277788de7a
NetBSD port from James K. Lowden
2004-05-20 23:05:02 +00:00
brodsom
46b5652ab3
Macro cleaning
2004-05-18 22:01:53 +00:00
brodsom
98d9fe6e63
Macro cleaning
2004-05-18 16:32:07 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
36d6d40469
Macro cleaning
2004-05-17 10:22:34 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
1ffe279896
-Avoid shadow warning
2004-05-12 19:39:17 +00:00
brodsom
62a4b10c22
-Replace define with const
...
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
brodsom
80b424e346
-Replace define with const
...
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
0daa189563
Removing ib_stdio.h
2004-04-28 22:36:29 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
2fa67d46bc
Cleanup
...
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +00:00
robocop
2b295a9108
General cleanup. Sorry if I missed some occurrence.
2004-01-28 07:50:41 +00:00
eku
14b3de174e
Port numbers are limited to 16 bit.
2004-01-13 13:38:36 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
d020ea5ca1
ping-pong cleanup: change one place and you have to change several others
2003-12-11 10:33:30 +00:00
dimitr
73c64e9835
Replaced itoa with snprintf.
2003-12-11 08:26:46 +00:00
dimitr
21e87f82e6
Fixed issues with TCP/IP port/service specification.
2003-12-06 15:52:45 +00:00
robocop
b02c629735
Cleanup
...
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
robocop
84062732d8
More cleanup
2003-12-03 08:19:24 +00:00
eku
4a38dfd307
Moved the definition of socklen_t to autoconfig.h. It's used in inet.ccp and
...
server.cpp.
2003-11-20 08:13:30 +00:00
brodsom
27cbcdd73e
-Removing some unneeded headers (WIN_NT) or explaining why are needed
2003-11-16 12:57:23 +00:00
skidder
f2180c2744
Forcedly set SO_KEEPALIVE flag for POSIX CS connections independently of what was given by xinetd/inetd to us
2003-11-15 20:16:29 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
brodsom
4285bc623c
Removing gdsold.h and gds.h
2003-11-08 16:40:17 +00:00
robocop
db77ffa605
const correctness, variables in scope, cleanup, etc.
2003-11-07 08:06:35 +00:00
brodsom
89e8f89f86
Extern "C" cleaning
2003-11-06 03:03:36 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +00:00
eku
da0d0f068f
Cleanup usage of gettimeofday.
2003-10-31 11:33:45 +00:00
robocop
9ead7a37b4
const correctness
...
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
brodsom
bac69c42fc
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:20:50 +00:00
robocop
484c6ec372
Cleanup, const correctness, variables in scope, etc.
...
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
dimitr
835c254336
Don't change screen cursor during CS attach.
2003-09-24 14:53:25 +00:00
brodsom
9d5721473a
Removing SHLIB_DEFS
2003-09-22 17:56:35 +00:00
brodsom
fa09e72d4e
Corrections (Thanks to Claudio)
2003-09-13 09:15:06 +00:00
brodsom
65d792cda0
-BOOLEAN cleaning
2003-09-11 18:59:34 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00
brodsom
602c201989
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
brodsom
499337fda5
Split utilities dir
2003-07-15 02:43:36 +00:00
brodsom
3e8835251f
Changes only inside #ifdef DEBUG.
...
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 11:26:38 +00:00
dimitr
318d501392
Fixed manual TCP port assignment.
2003-06-25 07:39:04 +00:00
aafemt
931da98b2f
STATUS -> ISC_STATUS
2003-04-10 10:31:28 +00:00
dimitr
ae56ed3860
1. Ask for only asymmetric protocols from the client side.
...
2. Cleanup.
2003-04-09 13:20:56 +00:00
brodsom
c246f9d897
Avoid signed unsigned comparison
2003-04-03 17:19:10 +00:00
brodsom
e9528848f9
Correct formats
2003-04-01 11:35:44 +00:00
paul_reeves
f5d55453a7
Fix for an SS event handler bug (code courtesy of Jim Starkey)
2003-03-27 10:39:56 +00:00
dimitr
e23d6227ec
Reworked my previous changes in INET.
2003-03-19 13:14:09 +00:00
eku
71f98a7163
Some systems do not define INADDR_NONE.
2003-03-12 13:55:45 +00:00
dimitr
d7eff3d67a
Fixed posix builds.
2003-03-12 11:22:24 +00:00
dimitr
15fe1fb209
1. Cleanup
...
2. Fixed known issues with event processing
3. Used new config options
Although these changes seem to be unix-sockets compliant, I'm only 99% sure in it, so please let me know if it breaks any platform build.
2003-03-12 10:13:58 +00:00
brodsom
b3cce04f16
Add two braces to make it work on mingw
2003-03-11 19:51:07 +00:00
tamlin
96c5d5e8f3
Close Win32 handles at exit.
2003-03-11 05:53:55 +00:00
brodsom
94e8f58ece
Put alarm_handler inside HAVE_SETITIMER, is only used when this macro is defined.
2003-03-03 08:37:54 +00:00
brodsom
c7e4ee4ab4
-Comment declared but undefined functions. (found with gcc never defined warnings)
2003-03-01 19:11:57 +00:00
brodsom
7a3b56ef46
Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings)
2003-03-01 17:51:59 +00:00
bellardo
337a77b914
More cleanup after renaming header files with name conflicts.
2003-02-18 16:06:01 +00:00
eku
6776adb23e
Added a test for <sys/socket.h> needed in remote/inet.cpp.
2003-02-18 12:38:27 +00:00
brodsom
73c77466b1
Remove multinet and wollongong vms protocols
2003-02-17 19:33:53 +00:00
eku
6bdeb9ef9d
Fixed "argument to non-pointer type `int' from NULL" and
...
"NULL used in arithmetic".
2003-02-14 14:26:05 +00:00
dimitr
f833079b2f
CONST -> const
2003-02-13 09:33:26 +00:00
eku
d36d4d0832
Fixed POSIX builds.
2003-02-10 09:26:52 +00:00
aafemt
8c121969c8
Some cleanup
2003-02-10 05:42:22 +00:00
dimitr
6bfbf2676b
New config values.
2003-01-15 14:10:07 +00:00
eku
5b8ffd81c2
Removed unused variables.
2002-12-10 11:53:53 +00:00
dimitr
153f31323c
More usage of the new config stuff.
2002-12-06 12:34:43 +00:00
eku
34e9391a97
Use the new macro FB_NELEM to calculate the number of elements in an array.
2002-12-02 09:45:52 +00:00
skidder
b592b6f7bf
Rollback recent xdr changes to make engine compilable on Linux(and other platforms) again
2002-11-18 16:20:21 +00:00
kkuznetsov
03626b4118
Migrating to OS native XDR if exist <rpc/xdr.h>
2002-11-18 10:16:45 +00:00