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

209 Commits

Author SHA1 Message Date
dimitr
442ff93a3b Nagle algorithm is now disabled by default, so there's no need to print an appropriate message in the server log. 2006-04-05 07:08:32 +00:00
dimitr
d123ead3a5 1) Set NoNagle depending on config only.
2) Set socket options for Win32 CS.
2006-04-05 05:04:52 +00:00
alexpeshkoff
1b6df6110a fixed server hang in case of broken client 2006-03-20 16:29:04 +00:00
robocop
179a4b7cfb Style. 2006-03-07 05:44:13 +00:00
alexpeshkoff
a6151c44c9 Fixed SF bug 1385092 2006-03-03 16:20:42 +00:00
robocop
10cb928ddc More cleanup. 2006-02-23 06:52:25 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
dimitr
7ca955e43a Minor cleanup. 2006-02-04 10:37:15 +00:00
hvlad
73dcebc962 Replace "../jrd/jrd_time.h" with "../common/classes/timestamp.h" 2006-02-03 13:13:27 +00:00
alexpeshkoff
4b40679a8d fixed posix build 2006-01-16 08:47:20 +00:00
robocop
b67b0219ab Change from getenv to readenv. This is still getenv in Linux/UNIX but GetEnvironmentVariable in Windows. 2006-01-14 04:48:59 +00:00
alexpeshkoff
688cfd53eb Misc 2005-12-23 08:52:31 +00:00
dimitr
e4f0ad0358 Fixed lost PORT_async flag for WNET + misc. 2005-11-30 12:37:00 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
dimitr
b570b3e3db Fixed cleanup of the broken port in classic. Let's always close the connection properly. 2005-11-24 14:03:26 +00:00
alexpeshkoff
db5c130d72 Make EACCES non-fatal when setting TCP_NODELAY 2005-04-29 17:03:46 +00:00
kkuznetsov
633ec5fd26 Fix my error which breaking non posix things 2005-04-06 13:02:13 +00:00
robocop
46e96a4f8e Style. 2005-04-05 06:47:17 +00:00
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