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

794 Commits

Author SHA1 Message Date
robocop
0d71e5b00f Misc (to match an almost identical code elsewhere). 2007-06-24 08:53:51 +00:00
alexpeshkoff
139e9c9a64 fixed bug in my last commit 2007-06-21 12:04:49 +00:00
alexpeshkoff
31beadfb64 fixed BOF during op_connect processing, avoid use of sprintf() in remote 2007-06-21 08:40:04 +00:00
hvlad
0593719f67 Additional patch for CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched 2007-06-09 11:06:59 +00:00
hvlad
a3757ab602 Fixed CORE-1310 : Got "request synchronization error" when calling isc_dsql_sql_info with isc_info_sql_records parameter after last record fetched 2007-06-08 12:41:18 +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
hvlad
5dab01a578 Fixed CORE-1303 : Infinite loop in SS remote listener 2007-06-04 14:17:15 +00:00
hvlad
f31a3116ec Fixed bug with wrongly initialized remote statement when lazy_port feature active.
It visible with TCS's test DSQL_DOMAIN_20
2007-06-01 12:46:30 +00:00
hvlad
a010a612a6 Fixed bug reported by Adriano in fb-devel : exception occurred after 3rd suspend reported by fbclient after 1st fetch.
Solution is to check for statement's exception not at every fetched row but before first fetch only.
2007-05-28 20:09:18 +00:00
hvlad
0eb638700f Fix for CORE-1276: Sometime INET error reported as 0 in firebird.log instead of real error code 2007-05-21 20:25:42 +00:00
hvlad
88671bf258 Correct error handling for deferred executed statements 2007-05-17 13:03:57 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
robocop
f2f3d205ce Misc. 2007-04-20 09:47:14 +00:00
alexpeshkoff
24015c14cd fixed gcc warning 2007-04-19 09:12:32 +00:00
hvlad
a6314265ef Fixed CORE-1206 : 'Error reading data from connection' when Lazy Port feature active and more that one active cursors present 2007-04-14 08:26:57 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
alexpeshkoff
edfa819bf7 restored functionality of -e family of switches, broken somewhere in 1.5 2007-04-05 12:47:20 +00:00
hvlad
c13e67fe49 Restored broken compatibility between clients and servers of different versions (2.1 and other) 2007-04-04 10:31:47 +00:00
robocop
b776f1f19c Minor corrections. 2007-04-03 08:18:11 +00:00
hvlad
2c10b3ff92 Implement one more LazyPort feature : defer op_execute packet when it possible 2007-04-01 21:42:40 +00:00
alexpeshkoff
d108970f7f Patch by Damyan Ivanov for Mipsel 2007-04-01 10:04:28 +00:00
asfernandes
33988b1a79 Misc 2007-04-01 02:04:58 +00:00
alexpeshkoff
dec4ded1f5 fixed unregistered bug, reported by Dmitry privately - partial and full XDR packets may be mixed now in network packets in any way 2007-03-30 12:56:57 +00:00
alexpeshkoff
9068d7787f Frontported alignment and endianess fixes from 2.0 2007-03-25 16:09:00 +00:00
asfernandes
20299bb856 Misc 2007-03-24 17:44:09 +00:00
alexpeshkoff
5f19566f76 Patch by Damyan Ivanov - accept localhost connections without /etc/host.equiv 2007-03-22 13:13:38 +00:00
alexpeshkoff
2c93118e86 Misc diagnostics 2007-02-24 11:27:52 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
hvlad
bc521d75a3 Fixed CORE-1119 : Bad code in status vector when running ISC_ER30 from fbtcs 2007-02-01 22:05:18 +00:00
alexpeshkoff
d66281291f 1. Make classic server close shutdown normally when killed by signals 2 & 15.
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
alexpeshkoff
82786a4548 do not terminate DEV_BUILD program in case of unknown operation in packet 2007-01-20 14:12:33 +00:00
hvlad
cba92d53f3 Fixed CORE-1097 : isc_dsql_set_cursor_name() fails 2007-01-17 20:06:17 +00:00
alexpeshkoff
094ac1f8c7 front-port - override ulimit setting for DEV_BUILD 2007-01-15 17:37:21 +00:00
robocop
91544a92e0 Totally misc. 2006-12-29 08:48:28 +00:00
hvlad
a1e9297bbd Fixed CORE-1067: AV in the engine using some API calls when 'lazy port' feature active 2006-12-25 10:28:41 +00:00
alexpeshkoff
2f48fc38f7 1. Closed security whole with malformed DPB/SPB
2. Avoid memory leak when exception is thrown.
3. Better diiagnostics.
Thanks to Claudio.
2006-12-17 15:53:46 +00:00
robocop
4afa6a29cb Misc. 2006-12-17 09:09:39 +00:00
dimitr
6466e7b12d 1) WNET and XNET cannot support OOB transmission, so they should not ask for that.
2) Cleanup the INET protocol types.
2006-12-15 15:47:52 +00:00
alexpeshkoff
6bb3545558 fixed posix build after my latest changes 2006-12-10 13:45:02 +00:00
asfernandes
854d870d8f Misc 2006-12-10 00:16:00 +00:00
asfernandes
a150855ef8 Misc 2006-12-09 01:23:17 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
bdc09b234a The remote subsystem should not guess about the internal structure of BLOB ID. 2006-12-04 21:42:27 +00:00
dimitr
25bf9d6c11 Fixed CORE-1017. 2006-11-28 10:21:21 +00:00
asfernandes
d8e10bbe1f Misc 2006-11-21 00:20:35 +00:00
dimitr
3edda730cd Attempted to fix XNET for the mixed 32-bit and 64-bit process interaction.
The binary memory layout is still the same, so I didn't bump the protocol version number.
2006-11-20 12:18:51 +00:00
dimitr
21e3b7e302 Let's never use native datatypes in the protocol structures. time_t in VC8 is 8 bytes long by default. 2006-11-20 07:55:39 +00:00
dimitr
ce77a882c4 Fixed XNET in Win64 builds. 2006-11-20 07:31:30 +00:00
asfernandes
a1c9b22868 Misc 2006-11-02 19:55:20 +00:00
dimitr
71801a4e0d Corrections (Win64 related). 2006-11-01 07:11:09 +00:00
dimitr
9ae3ad0c0a Win64 adjustments. 2006-10-30 14:18:02 +00:00
dimitr
f68e287a0b Win64 adjustments. 2006-10-30 14:13:30 +00:00
dimitr
78fb4f3fe0 This is supposed to fix pre-VC8 builds. 2006-10-30 13:05:51 +00:00
dimitr
89183deea6 This is supposed to fix pre-VC8 builds. 2006-10-30 13:00:40 +00:00
dimitr
9db2c1cbd4 Win64 adjustments + cleanup. 2006-10-30 12:41:23 +00:00
asfernandes
efcadd67a1 Misc 2006-10-25 15:09:13 +00:00
paulbeach
d668ed78e6 Commit the right inet.cpp and fix for CORE-966 2006-10-25 09:54:32 +00:00
robocop
27a9f9d586 Undo Paul Beach's fix for CORE-966 in HEAD because the patch is malformed and contains outdated code. Maybe it was intended for v2.0. 2006-10-25 07:05:25 +00:00
paulbeach
dd89b18833 Fix for Core-966 2006-10-24 15:06:24 +00:00
alexpeshkoff
2d5a3061d7 Instead of rejecting connect packet with more than 10 protocols
try to use first 10 of them, ignoring others.
2006-10-09 13:16:18 +00:00
dimitr
dd91852178 Simplified the code as Adriano suggests. 2006-09-15 06:11:34 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
dimitr
b018393168 Fixed CORE-923. 2006-09-12 06:48:03 +00:00
dimitr
00080ab731 More patches for Win64 compatibility. 2006-08-02 05:28:57 +00:00
dimitr
a09dc97d6b Corrections, thanks to Claudio. 2006-07-20 06:19:25 +00:00
asfernandes
ea0435247a Misc 2006-07-18 02:45:35 +00:00
dimitr
a9348e5766 Fixed CORE-833. 2006-07-17 11:10:18 +00:00
dimitr
2bc42d7dba Cleanup. 2006-06-02 08:26:08 +00:00
alexpeshkoff
b953f965b0 Fixed setsockopt() level - thanks to Fred 2006-06-02 07:16:39 +00:00
alexpeshkoff
a2720f8e51 Fixed my previous commit 2006-05-29 16:36:49 +00:00
alexpeshkoff
b36b5fb9a0 Report failure instead of having AV in case of too many suggested protocol versions 2006-05-29 16:34:06 +00:00
alexpeshkoff
d8560dd061 common code to set NODELAY option 2006-05-24 14:08:06 +00:00
robocop
9886d09647 Misc. 2006-05-20 04:22:07 +00:00
robocop
ae51945b18 Misc. 2006-05-20 03:31:05 +00:00
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +00:00
asfernandes
f772eae2c8 Fix windows build 2006-05-20 01:48:05 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
asfernandes
df37723a48 Misc 2006-05-02 01:32:41 +00:00
robocop
07f4bed382 I don't want another "interprete", so I rename "defered" to "deferred". 2006-05-02 00:04:12 +00:00
hvlad
f94b8bd641 Merge B1_5_Remote_LazyPort branch into HEAD 2006-05-01 22:23:31 +00:00
robocop
d306dc5ef4 Since TCP_NO_DELAY is gone, comments regarding it are obsolete. 2006-04-29 03:01:40 +00:00
robocop
150112b8c3 Delete obsolete code after Dmitry's changes. 2006-04-21 06:33:11 +00:00
dimitr
ccc620e334 A bunch of changes targeted to support multi-instancing on win32. 2006-04-20 10:35:44 +00:00
robocop
67919047a2 Try to comply with MacOS docs... there's work to do in inet.cpp with FB_SETOPT_FLAGS. 2006-04-19 03:07:34 +00:00
robocop
a278bc8413 Style. 2006-04-19 03:05:09 +00:00
alexpeshkoff
f12d282788 avoid too much #ifdef's inside the file 2006-04-18 09:43:37 +00:00
robocop
a2d0a4d348 Style. 2006-04-18 04:50:02 +00:00
robocop
a89957c0ab Restore Win32 port to compilable state. 2006-04-18 04:48:32 +00:00
kkuznetsov
450fc1d863 Fix compile error on Solaris 2006-04-17 18:39:22 +00:00
alexpeshkoff
4eb30fcf39 Don't raise SIGPIPE when other side terminated connection 2006-04-17 15:52:56 +00:00
alexpeshkoff
105bff246e removed unneeded h-file 2006-04-17 10:40:28 +00:00
asfernandes
48abddae4c Use THREAD_SLEEP as sleep don't exist in WIN32 2006-04-16 17:09:02 +00:00
alexpeshkoff
fb4888dca1 shutdown working threads before server shutdown 2006-04-14 16:46:12 +00:00
robocop
2e9353d7e7 Delete dead code after checking with Dmitry.
The B.O. are still there when copying the result of GetCommandLine().
2006-04-11 07:18:53 +00:00
robocop
192832199f Solve a possible truncation problem due to USHORT<->ULONG issues.
Tweak for embedded so it doesn't crash when handling an error.
2006-04-11 07:16:37 +00:00
robocop
00c9d548a6 Handle zero-length strings even if we have our buffer full. 2006-04-09 06:53:38 +00:00
robocop
eb727adf2f We can't handle more than 255 bytes for some items when merging information. Let's be consistent between the length indicator and the bytes we put in the buffer. 2006-04-09 06:50:46 +00:00
robocop
4243e7bcc4 Style. 2006-04-09 06:46:28 +00:00
robocop
b8636c120b Refactor this damn unreadable code and take into account the problem Adriano found with zero length file names in my previous commit. 2006-04-09 00:53:55 +00:00
robocop
1f22045df1 I think I'm fixing a potential buffer overrun here. 2006-04-07 04:51:13 +00:00
asfernandes
2b5eef3103 Correction 2006-04-07 02:55:34 +00:00
alexpeshkoff
f59a457b5d validate port_context before use to avoid AV in remote 2006-04-06 13:34:09 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
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
dimitr
5699faf1b5 Let's not duplicate things. 2006-03-17 16:08:04 +00:00
alexpeshkoff
74b7418943 we should not loose status vector held in status_exception 2006-03-15 17:25:49 +00:00
robocop
7250b931cf Commit Alex' fix for a buffer overrun. 2006-03-15 04:22:38 +00:00
robocop
8f1cf8f2cb Commit correct signature for events-related calls. 2006-03-10 08:23:40 +00:00
dimitr
eba22db548 Fixed an exception during events shutdown, reported in fb-devel. 2006-03-09 17:52:17 +00:00
robocop
179a4b7cfb Style. 2006-03-07 05:44:13 +00:00
asfernandes
22eca372ab Formatting 2006-03-07 03:12:48 +00:00
alexpeshkoff
402d918e74 Use named constant for buffer size 2006-03-06 13:51:58 +00:00
alexpeshkoff
318533fea5 no need to check '<0' for unsigned variables - thanks to Adriano 2006-03-06 13:36:55 +00:00
alexpeshkoff
b4ed43ddf8 1. Fixed win32 classic build.
2. Attempt to fix SF#1260310.
2006-03-06 11:03:19 +00:00
alexpeshkoff
9e21527396 fixed debugging code - thanks to Claudio 2006-03-05 10:26:45 +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
7c8f6e2717 Fixed broken XNET logic. In fact, this affects all types of connections as the security database is accessed locally. 2006-02-07 18:41:06 +00:00
dimitr
9ec3909c08 Fixed XNET to follow the common call architecture for the remote subsystem. Just hope I didn't break the logic. 2006-02-05 18:03:00 +00:00
dimitr
1483c3abd0 Implemented SRVR_debug for XNet connections on win32. 2006-02-04 16:10:14 +00:00
dimitr
0ef2f98b75 Fixed SRVR_debug for INet connections on win32. 2006-02-04 11:32:14 +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
dimitr
878ef6a583 Reduced dependencies upon window messages + cleanup. 2006-01-26 12:23:48 +00:00
alexpeshkoff
d1ee840d60 fixed gcc warning(s) 2006-01-16 16:49:15 +00:00
alexpeshkoff
4b40679a8d fixed posix build 2006-01-16 08:47:20 +00:00
robocop
3b64ed4102 Detect if some undocumented startup option failed (Windows). 2006-01-14 04:56:13 +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
dimitr
ed9eb5c9cd Fixed the wrong local connection. 2006-01-12 13:21:25 +00:00
alexpeshkoff
e76972ef21 rollback temporary fix after fixing status_exception 2006-01-07 16:53:35 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
robocop
6da2dcf373 Remove leftover from Apollo. 2006-01-06 22:42:09 +00:00
alexpeshkoff
dccce62333 simpler way to detect redirection attempt 2006-01-06 12:29:12 +00:00
alexpeshkoff
1ecaaa049e fixed "invalid database handle" error 2006-01-06 11:21:57 +00:00
alexpeshkoff
4447d705c8 fixed bugs in server version reporting 2005-12-29 08:06:11 +00:00
robocop
5608b9be1f - Handle gracefully the exceptions that happen at startup in Windows.
- Show the version string if asked explicitly.
- Some minor cleanup.
2005-12-25 07:40:16 +00:00
robocop
75ddccb613 Misc. 2005-12-25 04:01:49 +00:00
alexpeshkoff
688cfd53eb Misc 2005-12-23 08:52:31 +00:00
robocop
b5210ff5fd Fix for crash in Alex' disable multi-hop config param. 2005-12-22 06:02:02 +00:00
alexpeshkoff
8de8ef96ce added Redirection parameter to firebird.conf 2005-12-21 10:10:37 +00:00
alexpeshkoff
2f880b3fd9 removed unneeded any more function 2005-12-01 17:32:56 +00:00
dimitr
e4f0ad0358 Fixed lost PORT_async flag for WNET + misc. 2005-11-30 12:37:00 +00:00
robocop
d823b52bdc Misc. 2005-11-30 07:45:49 +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
dimitr
11b954f324 Fixed a couple of issues in the port cleanup logic:
- improper thread data operations
- no rollback for a broken INET port
2005-11-24 12:15:41 +00:00
robocop
107eceef33 Misc. 2005-11-24 04:03:25 +00:00
alexpeshkoff
b5417537e6 fixed redirection issues 2005-11-20 17:02:42 +00:00
robocop
d1373b1555 Fix clash with winbase.h on IGNORE. 2005-11-18 04:39:47 +00:00
robocop
44c31e922d Fix funny message in a resource. 2005-10-28 04:15:56 +00:00
robocop
69d03eec33 Fix allocation bug. 2005-10-05 08:39:07 +00:00
dimitr
ec27d021fd Cleanup. 2005-08-31 16:08:14 +00:00
dimitr
946d9cb5c3 Cleanup. 2005-08-31 14:55:10 +00:00
dimitr
7bea958551 Removed the unused file. 2005-08-31 13:19:23 +00:00
alexpeshkoff
dfe04f6635 Fixed signal safety problems in SS shutdown 2005-08-29 15:00:15 +00:00
dimitr
0ce1d52f3e Slightly changed (mostly cleaned up and fixed) the SS shutdown mechanics. 2005-06-24 11:14:51 +00:00
dimitr
054af913ae Fixed possible event handler crashes during detach. 2005-05-31 16:10:15 +00:00
dimitr
6d333a5af5 Fixed bug introduced 1.5 years ago. 2005-05-06 13:15:32 +00:00
alexpeshkoff
db5c130d72 Make EACCES non-fatal when setting TCP_NODELAY 2005-04-29 17:03:46 +00:00
robocop
d0115322ac Misc. 2005-04-18 03:24:34 +00:00
alexpeshkoff
808422abaf fixed windows build 2005-04-14 17:06:14 +00:00
alexpeshkoff
504ec492ab Shutdown SS without SYSDBA password 2005-04-11 15:33:18 +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
d983edd500 Temporally block assertion on Solaris platform to go testing 2005-04-04 12:57:10 +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
robocop
86492a7b36 Simplify B.O. protection. 2005-03-26 05:02:09 +00:00
alexpeshkoff
e62caf14c8 fixed 2 BOFs, cleanup 2005-03-23 10:32:28 +00:00
alexpeshkoff
b9ec5835b4 fix gcc warning 2005-03-20 13:55:21 +00:00
aafemt
8eeb34967b no more THD_* stuff in client 2005-03-10 10:23:52 +00:00
dimitr
9efa04ae30 Fixed improper loopback connection via XNET. 2005-03-09 16:26:41 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
dimitr
d1c94854e3 Allow XNET connections from the same process (e.g. from UDFs). 2005-02-03 14:07:31 +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
robocop
e7bd3ca440 Misc. 2005-01-19 08:54:51 +00:00
dimitr
7d371a8959 Disable XNET for the embedded server. 2005-01-18 21:45:56 +00:00
dimitr
03cfc7c237 Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 12:35:27 +00:00
dimitr
f49849da03 Changes and cleanup regarding XNET vs old-style IPC. 2005-01-16 12:20:09 +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
robocop
bd0af404fd Misc. 2004-12-28 05:21:00 +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
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
41b75cdf60 Misc. 2004-12-23 03:03:13 +00:00
alexpeshkoff
1a680fd13f front-ported one of the latest changes of 1.5.0 2004-12-19 16:29:23 +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
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
f550ca480f Misc. 2004-12-09 02:53:19 +00:00
robocop
014d90ff59 Misc. 2004-12-08 04:12:26 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
skidder
0e68abffbf Address the security issue in remote address handling code pointed by Claudio. Hack REMOTE server-side exception handling to make it not crash when exceptions actually happen. The latter seems to be the very old problem, in IB6 code looks the same 2004-11-29 04:39:20 +00:00
robocop
bb170bd3b6 isc_interpret is fb_interpret again.
Please do a full rebuild.
2004-11-28 01:03:05 +00:00
robocop
425bbc8ef9 Comment no longer applies. 2004-11-27 05:45:46 +00:00
robocop
cda53de35d It seems to me those debugging reports are better read as text files. 2004-11-27 03:33:22 +00:00
skidder
55c4e0ac85 CLIENT_ADDRESS and NETWORK_PROTOCOL variables support 2004-11-26 01:01:27 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
070eaa8415 Misc. 2004-11-18 08:40:13 +00:00
hvlad
b4a0d39fe1 Fix buffer overflow when string carried with status vector is too large. String will be truncated to 1023 bytes 2004-11-17 12:25:22 +00:00
robocop
eb99bbcccf Poor man's version of the old gds_alloc_report. 2004-11-17 08:56:07 +00:00
alexpeshkoff
820dbe9156 restored broken by me const-correctness in remote 2004-11-16 11:43:05 +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
robocop
56201d1a86 Consistency. 2004-11-08 07:09:15 +00:00
robocop
6c301739f8 Misc. 2004-11-08 07:08:06 +00:00
robocop
2ec848a3b9 Treat string literals and string constants with more respect. 2004-11-08 05:38:42 +00:00
robocop
e5ac2effd4 Misc. 2004-11-08 03:09:27 +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
skidder
3e26513b38 fb_interpret->isc_interpet, deprecate isc_interpete, clean interface a little bit 2004-10-25 03:53:03 +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
skidder
645074699e Improve firebird reliability in failure cases on Windows 2004-10-15 23:07:59 +00:00
robocop
f6b5de8a7a Redundant casts.
Getting rid of IPSERV.
2004-10-09 01:37:30 +00:00
robocop
336661d8a1 Style. 2004-10-08 08:13:22 +00:00
robocop
25f115b66e Closing several possible buffer overruns.
Alex is expected to overwrite my changes in isc_file.cpp.
2004-10-08 04:48:02 +00:00
robocop
273665c953 ipserver is being deleted. Update source files. 2004-10-03 07:04:44 +00:00
paul_reeves
5862524ba2 No need to specifically log sigpipe errors when running SuperServer on *nix 2004-09-29 10:11:54 +00:00
dimitr
7832801092 Removed impersonation code. Minor cleanup. 2004-09-28 17:54:41 +00:00
robocop
ddbe44520b Got rid of incredibly redundant cast. 2004-09-26 07:49:55 +00:00
robocop
7dcb66a250 When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
robocop
e4da3532f2 Nonsense cast 2004-09-24 06:46:04 +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
d869cfd034 Misc 2004-09-22 11:07:51 +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
robocop
adc2e01407 Misc 2004-09-22 08:49:50 +00:00
robocop
e6cb17cac6 Vulnerability reported by Daniel Urban.
First step: reorganize code.
Please do a full rebuild after retrieving those changes.
2004-09-22 01:59:39 +00:00
skidder
658bd8ec5e Cleanup 2004-09-16 22:25:22 +00:00
kkuznetsov
7a1f35db67 os/sun/server_main_dummy.cpp is a file with noop routine
server_main to put into libfbclient
	if it defined by firebird.vers mapfile while
	linking libfbclient with Sun-like LD
2004-09-15 08:31:32 +00:00
dimitr
ed0b83ad8a Fixed issue SF #571026. 2004-09-05 19:37:43 +00:00
dimitr
7d3578cea8 Fixed bug SF #223058 2004-09-05 14:08:04 +00:00
dimitr
95f97b91cf Cleanup. 2004-09-05 13:53:56 +00:00
dimitr
b4c3010dc8 Fixed possible SEGV errors in the op_connect handler. 2004-09-04 20:09:24 +00:00
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
dimitr
0df4efd900 Fixed bug introduced by Blas' cleanup yesterday. 2004-08-28 07:30:17 +00:00
brodsom
aaaddf7642 Fix ,silence non initialized warnings 2004-08-26 23:27:46 +00:00
skidder
f5e58b038a Again, do not send trash over the wire 2004-08-13 03:07:11 +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
507f53d9bd Style and misc 2004-07-22 07:15:10 +00:00
brodsom
728c927550 Hack to fix mingw build (due to a mingw bug). 2004-07-02 10:47:03 +00:00
robocop
949830d0c6 1.- const correctness
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00