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

623 Commits

Author SHA1 Message Date
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