8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 05:23:02 +01:00
Commit Graph

1015 Commits

Author SHA1 Message Date
dimitr
3038f8b5db Use a proper handle type for TCP sockets. Don't share that handle with named pipes. This allows to eliminate many unnecessary casts. 2009-07-31 08:46:35 +00:00
hvlad
3e4b0677ce Fixed regression in Beta2 : can't connect using XNET 2009-07-29 08:59:28 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
dimitr
d6c79a4203 Fixed two issues for the case of non-authorized op_connect_request:
1) Missing error reporting which makes the client to stall forever
2) CORE-2563: Possible DoS attack using the malformed packet sent into the connection port
2009-07-20 14:05:39 +00:00
asfernandes
68ebf172f6 Fixed CORE-2561 - Incorrect database name transliteration when connecting using WNET or XNET 2009-07-19 17:33:52 +00:00
robocop
cfb9403481 Warnings. 2009-07-17 09:06:03 +00:00
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
asfernandes
b2c8c1f1e6 Fixed the problem with trusted authentication 2009-07-13 15:26:37 +00:00
dimitr
816f2971da Deleted the unnecessary files. 2009-07-13 15:13:23 +00:00
dimitr
136d064565 1) Complete the Alex's changes for CORE-2526 (Windows part).
2) Cleanup the license, help and settings parts of the server properties window (they're unused for a long time already).
3) Misc changes.
2009-07-13 15:09:58 +00:00
asfernandes
e26c3083f8 Improvement CORE-2551 - Interpret DPB items as now the database name parameter is interpreted and change MON$ filenames fields from NONE to UNICODE_FSS. 2009-07-11 19:58:28 +00:00
asfernandes
20c91dcef7 Misc 2009-07-11 03:01:18 +00:00
asfernandes
7d0074310c Initialize xcc struct.
After its creation, things may go wrong and then cleanup_comm access not initialized members.
2009-07-09 17:30:29 +00:00
alexpeshkoff
fe4aec8a12 Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine. 2009-07-09 14:04:42 +00:00
robocop
33f2a7881d Leave xdr and friends in peace for now. 2009-07-07 08:50:26 +00:00
robocop
e297859792 Undo some particular cases of signed/unsigned conversions. 2009-07-07 07:21:34 +00:00
robocop
336098a038 Ged rid of a lot of reinterpret_cast cases. 2009-07-05 10:12:06 +00:00
asfernandes
8a94ecf6bc Misc 2009-06-29 02:06:00 +00:00
robocop
67c4d03965 Style. 2009-06-28 11:59:30 +00:00
robocop
2ca526b779 Style. 2009-06-28 10:26:25 +00:00
robocop
ff4b546efd Style. 2009-06-27 12:07:51 +00:00
robocop
34e347fddd Cleanup. 2009-06-27 08:28:07 +00:00
dimitr
14e9ed63f1 Fixed CORE-2462: 2.5 beta 1 has huge, fast-growing log files.
Also bring some uniformity to the code among different protocols.
2009-06-27 08:00:17 +00:00
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
robocop
b578ec50dc Put bad_port_context() in alphabetical order and created a little helper, send_error(). 2009-06-09 12:52:19 +00:00
alexpeshkoff
4a0ab87d6b Use PORT_FILE for port file lock - thanks to Claudio 2009-06-09 11:06:57 +00:00
alexpeshkoff
f21a2bf4be Make initialization distributed - each subsystem does what it needs when needs, removed gds.cpp:init() 2009-06-09 10:08:12 +00:00
alexpeshkoff
40fa68971c Make it compile on posix 2009-06-09 08:39:29 +00:00
robocop
01cfec77b1 Paranoid checks. 2009-06-09 08:20:51 +00:00
robocop
044276cdc0 Style. 2009-06-09 05:55:17 +00:00
dimitr
6bbff07368 Slightly improve the retry loops in inet.cpp. Let's give up as soon as the call fails with any unexpected error. 2009-06-08 12:34:47 +00:00
dimitr
ae1de3f245 CORE-2263: RemoteAuxPort for SuperClassic and regular Classic.
This change also fixes the possible races in SuperServer (possible after getting rid of the global mutex in the remote subsystem).
2009-06-08 12:21:31 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
dimitr
a964f5762b Misc. 2009-06-04 12:23:20 +00:00
dimitr
5abc5a373d Added timeouts to the network event listener code.
Fixed wrong usage of SO_REUSEADDR on Windows.
2009-06-04 10:53:00 +00:00
robocop
68f44cb6a6 Misc. 2009-06-02 09:18:59 +00:00
robocop
81868b2783 Misc. 2009-06-02 06:37:01 +00:00
robocop
b29af64d5b This is already a Windows file, no need to check for the WIN_NT macro. 2009-06-02 06:34:59 +00:00
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +00:00
alexpeshkoff
46527f2084 MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements. 2009-05-27 07:57:06 +00:00
robocop
4bae43779f Some #if should be #ifdef instead. 2009-05-17 11:25:50 +00:00
asfernandes
158a05c78d Misc 2009-05-10 15:23:31 +00:00
robocop
0e7dc28051 Style. 2009-05-09 13:46:06 +00:00
dimitr
d3dad89130 Correction. 2009-05-08 15:31:03 +00:00
dimitr
0f776b2517 Finalized the remote cleanup by Dmitry Kovalenko. 2009-05-08 09:23:34 +00:00
alexpeshkoff
a37d818726 AIX port - native compiler support 2009-05-07 14:49:40 +00:00
hvlad
a6578b4bba Fixed bug CORE-2453 : AV at engine when client used events disconnects 2009-05-07 11:11:43 +00:00
alexpeshkoff
c93c65df4c Use macro __sun instead of sun for this platform 2009-05-07 07:11:06 +00:00
robocop
d02c711694 Style and misc. 2009-05-05 11:45:58 +00:00
robocop
8edd8a7cd9 Style and misc. 2009-05-03 14:19:35 +00:00
robocop
e5b226f7a7 More unused params; style. 2009-05-02 13:00:09 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
1c20adb8fc Misc 2009-04-29 01:52:49 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
alexpeshkoff
9b0950da7a Fixed CORE-2306: fbserver terminated abnormally when thread start failed 2009-04-24 15:51:40 +00:00
asfernandes
c986de33a2 Misc 2009-04-22 01:58:40 +00:00
alexpeshkoff
354aae3bc1 misc 2009-04-20 13:19:45 +00:00
robocop
754b185c10 Comments. 2009-04-18 09:58:31 +00:00
alexpeshkoff
cd54e5533e Fixed CORE-2437: Buffer overflow on client when delivering events. 2009-04-17 13:36:34 +00:00
alexpeshkoff
4ee99ff984 Make port wait for event thread shutdown on disconnect 2009-04-17 11:22:31 +00:00
robocop
4a6dddd02e Comments. 2009-04-16 06:52:08 +00:00
asfernandes
e707efaa1d Misc 2009-04-16 01:09:12 +00:00
robocop
ee08d55b01 Comments. 2009-04-15 14:18:20 +00:00
robocop
42e26b034f Comments. 2009-04-15 13:47:54 +00:00
robocop
09a087e458 Comments. 2009-04-15 13:41:22 +00:00
alexpeshkoff
78ef36a730 cleanup 2009-04-15 09:58:18 +00:00
robocop
1452ca21c1 Misc. 2009-04-15 06:40:17 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
asfernandes
9e0c4f06f2 Misc 2009-04-04 16:28:33 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
hvlad
d443178d0f More complete fix for bug CORE-2368 : AV after isc_cancel_events if event was not found 2009-03-23 17:20:51 +00:00
alexpeshkoff
ac92e643e6 Cleanup - events delivery using unix signals is not used any more 2009-03-16 16:31:51 +00:00
hvlad
428204cdf8 Fixed bug CORE-2368 : AV after isc_cancel_events if event was not found 2009-03-12 08:06:26 +00:00
asfernandes
2c92602c66 Close handle refering to parent process 2009-03-09 01:42:29 +00:00
robocop
cb6849f8a4 Misc. 2009-03-08 12:17:42 +00:00
hvlad
c574a32c39 Fixed bug CORE-2356 : On Windows listener process of Classic Server can't create necessary resources after restart if any worker process was present 2009-03-07 22:25:57 +00:00
hvlad
d4e7e15b85 Correction for my patch re. errors at graceful socket shutdown 2009-03-07 20:21:10 +00:00
asfernandes
9d086d289c Misc 2009-03-05 00:52:25 +00:00
robocop
4dc1d3d144 Misc. 2009-03-04 12:13:32 +00:00
dimitr
39b6dac932 Fixed the wrong assertion. 2009-03-03 15:25:34 +00:00
hvlad
fd2099aa96 Fixed bug CORE-2349 : False "Invalid SQLDA" error 2009-03-03 12:00:29 +00:00
dimitr
9dca0fa2b7 Correction related to my last commit. 2009-03-02 09:34:37 +00:00
asfernandes
283509ad8d Misc 2009-03-01 15:42:23 +00:00
alexpeshkoff
4fc28a7195 AIX port - cleanup 2009-03-01 13:23:58 +00:00
hvlad
de11e4037a Don't report wrong error at graceful socket shutdown.
Misc.
2009-03-01 10:35:43 +00:00
dimitr
fdeb9d6e53 Fixed the "bad handle" error reporting in the remote server. 2009-02-28 13:12:37 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
robocop
f309e01a7e Apply patch from Kovalenko Dmitry (Lipetsk). 2009-02-25 08:08:34 +00:00
robocop
41efd08618 Comment flag that I marked as unused years ago. 2009-02-25 05:38:27 +00:00
asfernandes
b204a1e54f Misc 2009-02-21 17:43:07 +00:00
alexpeshkoff
c69863bdd5 Clean up - code was not needed since security fix, avoiding use of UID, transfered by client 2009-02-20 16:13:32 +00:00
aafemt
c3cf2052ef Fix some mistypes that GCC doesn't tolerate 2009-02-17 17:00:22 +00:00
paulbeach
13274ac5a9 Frontport and solve symbol issue for MacOSX 2009-01-21 13:04:36 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
3a03e0515c Style: aligning the opening and ending braces in switch() statements and in large blocks of code. 2009-01-18 11:36:08 +00:00
asfernandes
cd010ff939 Misc 2009-01-17 19:07:07 +00:00