asfernandes
dc0d56ed6d
Misc.
2014-12-21 01:54:28 +00:00
asfernandes
d8a0ff5f4b
Generate interfaces with I-prefix.
2014-12-19 15:24:44 +00:00
hvlad
581b757b4b
Fix Windows build
2014-12-18 07:24:09 +00:00
alexpeshkoff
c14a1210b0
Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec()
2014-12-17 14:31:02 +00:00
dimitr
729ff618b9
This should fix CORE-4639: Linux server may reject connections with a transliteration error.
2014-12-16 10:30:31 +00:00
dimitr
8e968e4e7c
Fixed missing initialization of the output variable in the case of FB_EOF.
2014-12-04 18:24:13 +00:00
alexpeshkoff
7006c82fc3
Fixed CORE-4471: Legacy_Auth plugin does not connect from FB3 to FB2.5 server when tried after Win_Sspi
2014-12-03 14:27:11 +00:00
hvlad
5d6723c25b
Support for zlib on Windows
2014-12-01 09:04:39 +00:00
asfernandes
cebc7c36b3
Misc.
2014-11-30 21:09:39 +00:00
alexpeshkoff
f1fcb0ced1
Establish uncompressed connection in case of missing zlib
2014-11-28 13:46:29 +00:00
alexpeshkoff
f58b1433fb
Misc encryption enhancements
2014-11-28 11:58:08 +00:00
alexpeshkoff
11c452251d
Make zlib allocate memory from our pool
...
Add Z flag in protocol version for compressed connections
Documentation
2014-11-27 13:51:59 +00:00
hvlad
e487537ad2
Fix build errors when WIRE_COMPRESS_SUPPORT not defined
2014-11-27 08:15:16 +00:00
alexpeshkoff
6cb0fdb082
Load zlib dynamically to make it possible for the client to run without it
...
Added configure switch to turn off build with compression
Cleanup zlib streams to avoid memory leak
Use SHRLIB_EXT instead explicit "so"
2014-11-26 17:43:45 +00:00
alexpeshkoff
647971f162
Remove unneeded any more assert, causing problems for a build w/o compression
2014-11-26 10:20:45 +00:00
alexpeshkoff
e65a5e3b3b
Implemented CORE-733: Compress Data over the Network
2014-11-25 13:24:10 +00:00
hvlad
c057dd971f
Add check if IPv6 is supported by OS.
...
Windows implementation is complete, while POSIX implementation should be reviewed and fixed if necessary.
2014-11-22 10:42:54 +00:00
mkubecek
7d2568566f
Fix MSVC build (it does not define EAI_ADDRFAMILY)
2014-11-20 21:16:15 +00:00
mkubecek
81f68710d1
Fix server address resolution on systems with IPv6 support missing or disabled
2014-11-20 09:41:44 +00:00
alexpeshkoff
ca4ac0718a
Avoid segfault in a case when port_context is reset for broken port
2014-11-16 17:33:09 +00:00
asfernandes
0973e76135
Misc.
2014-11-16 02:41:47 +00:00
hvlad
c1ec7896b6
Fixed compilation errors on Windows after IPv6 patches
2014-11-14 14:54:09 +00:00
mkubecek
ae4f286c1a
Improvement CORE-3226: IPv6 support (8/9) add config directive for IPV6_V6ONLY socket option
2014-11-12 17:31:01 +00:00
mkubecek
983627a2d7
Improvement CORE-3226: IPv6 support (7/9) remove unused functions
2014-11-12 17:30:07 +00:00
mkubecek
6988b9901b
Improvement CORE-3226: IPv6 support (6/9) implement IPv6 support for aux connection
2014-11-12 17:29:15 +00:00
mkubecek
263f12a1f4
Improvement CORE-3226: IPv6 support (5/9) implement IPv6 support for main connection
2014-11-12 17:28:37 +00:00
mkubecek
2caf1a6b49
Improvement CORE-3226: IPv6 support (4/9) handle IPv6 addresses in utility functions
2014-11-12 17:27:46 +00:00
mkubecek
d3c1d72515
Improvement CORE-3226: IPv6 support (3/9) socket address abstraction class
2014-11-12 17:27:02 +00:00
mkubecek
5efd039202
Improvement CORE-3226: IPv6 support (2/9) do not pass pointer to peer address to accept()
2014-11-12 17:24:44 +00:00
mkubecek
39b8553530
Improvement CORE-3226: IPv6 support (1/9) allow square brackets around host in connection string
2014-11-12 17:24:09 +00:00
mapopa
c824ee7c2f
Apollo computers are long gone
2014-11-07 15:30:24 +00:00
mapopa
bca66ed3b1
Fix comment non-VMS to non-Windows
2014-11-07 15:22:08 +00:00
mkubecek
e7308c1c63
Fixed CORE-4586: connections to FB3 in "standaloneClassic" mode (firebird -s) hang up
2014-10-29 17:43:22 +00:00
alexpeshkoff
e2c5296097
Fixed a bug in unofficial release of beta1 reported by Martijn in devel - missing security context error when using separate SecurityDatabase
2014-10-28 13:41:40 +00:00
asfernandes
0463754347
Misc.
2014-10-25 18:39:45 +00:00
dimitr
0836bbbfa3
Improved the batching (prefetch) logic. This is the second part of CORE-2530.
2014-10-11 09:02:09 +00:00
dimitr
5baa5ac4ec
Restore zero-initialization of message items flagged as NULLs.
2014-10-03 16:15:36 +00:00
alexpeshkoff
f5645faaa0
Fixed windows build
2014-09-30 14:21:44 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
alexpeshkoff
fec7a2b7b1
Fixed access to freed memory in remote redirector. This should fix CORE-4557.
2014-09-29 10:51:40 +00:00
dimitr
4b5b82615b
Resolved CORE-2897: Don't send full length of field over the wire when field is null.
2014-09-10 11:55:43 +00:00
alexpeshkoff
9f5be859ad
Fixed VC10 build
2014-09-03 13:51:48 +00:00
alexpeshkoff
7c5eae4752
Minor debug enhancement
2014-08-28 09:30:17 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
0fa3945f6a
Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux.
2014-08-15 14:59:38 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
alexpeshkoff
900fb824fe
Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check.
2014-07-31 11:43:38 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
asfernandes
719b150da0
Misc.
2014-07-20 15:44:47 +00:00
skidder
e2e901939c
Fix GCC warnings
2014-07-17 21:17:15 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
alexpeshkoff
a9721f18e0
Added first parameter IStatus* to a lot of functions in API interfaces
2014-07-02 12:57:12 +00:00
alexpeshkoff
6a2016235a
Fixed CORE-4435: After calling release() for attachment to database (instead detach) in embedded mode attachment remains active forever (and some cleanup re. reference counters)
2014-06-10 07:13:34 +00:00
alexpeshkoff
ec75ae684d
Avoid shutdown delay when all logins appear wrong due to closed security database
2014-06-10 07:06:56 +00:00
mapopa
c481e73765
Cleanup convert function NOT_USED_OR_REPLACED
2014-05-16 13:21:16 +00:00
mapopa
1fd0a9202d
Cleanup
2014-05-16 13:06:13 +00:00
mapopa
19e4918bbb
Cleanup dead platforms
2014-05-09 09:01:51 +00:00
asfernandes
913c435667
Misc.
2014-04-19 21:36:55 +00:00
alexpeshkoff
58ec2954c1
Fixed CORE-4394: Cursor not found error when using legacy API
2014-04-18 12:08:17 +00:00
alexpeshkoff
8b28dd1da9
Implemented improvement CORE-4387: IStatement::execute() and IAttachment::execute() functions should return on error pointer to old transaction interface
2014-04-08 13:45:21 +00:00
alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +00:00
asfernandes
30b0b5227b
Misc.
2014-03-31 02:04:26 +00:00
robocop
daae978a9c
Misc.
2014-03-26 19:10:08 +00:00
dimitr
8623583aab
More correct textual description.
2014-03-22 16:54:45 +00:00
robocop
e53ce46c1d
Windows only: I prefer to know from the properties dialog when the Server is using the -m startup option.
2014-03-21 23:05:56 +00:00
alexpeshkoff
26b090c93b
Added access to configuration interfaces from IMaster and support for getting configured directories
2014-02-12 11:20:55 +00:00
paulbeach
cd2506896d
Users on Windows are hitting the 1024 FD_SETSIZE socket limit
2014-02-03 08:47:20 +00:00
asfernandes
48ea42f1c0
Misc.
2014-01-19 20:38:16 +00:00
asfernandes
8e932b1809
Misc. and fixes.
2014-01-17 15:05:19 +00:00
alexpeshkoff
f2f4fb9e8e
misc
2014-01-17 13:14:01 +00:00
alexpeshkoff
411c3718ca
Fixed CORE-4286: "Statement already has a cursor assigned" error when trying to execute another SQL statement using different cursor name. Moved method setCursorName() from IStatement to IResultSet - it was my fault when splitting cursor from statement.
2014-01-17 12:33:23 +00:00
alexpeshkoff
949defe5e6
Implemented CORE-4317: Make ISQL use new object API with 32-bit length for object sizes (messages, SQL statements, etc.)
...
Implementation also includes changes in GPRE, but this utility is not complete - only commands, used in ISQL,
are working in code generator for new API.
New interface IUtl is added - it performs tasks, related with database objects (attachment, transaction, etc.),
but not requiring routing in YValve, i.e. client only tasks.
2014-01-15 13:02:08 +00:00
dimitr
13965d5749
Correction.
2014-01-14 10:41:25 +00:00
dimitr
d1f2e501b3
Fixed the server crash during disconnection forced by the network layer.
2014-01-14 09:00:40 +00:00
dimitr
f3b8f38c22
Restored the error reporting for the already closed cursor.
2014-01-06 08:03:14 +00:00
dimitr
adef7226a0
Fixed CORE-4313: Error "Attempt to reopen an open cursor" may be raised if the query handle is reused in a different transaction.
2014-01-05 16:25:12 +00:00
alexpeshkoff
db7baf02e6
Removed wrong assert
2013-12-23 10:55:08 +00:00
dimitr
b2375e34d7
I prefer to explicitly initialize suspicious pointers. Related to CORE-4300 (although there's no crash here).
2013-12-19 11:41:11 +00:00
alexpeshkoff
3d3a143bf3
Fixed issues noticed by Claudio
2013-12-09 08:19:49 +00:00
alexpeshkoff
3ed06e3339
Fixed post-Alpha1 security regression, reported privately by Pavel
2013-12-02 14:28:40 +00:00
alexpeshkoff
b877a815a8
Fixed CORE-4283: Resource temporarily unavailable errors while simultaneously registering events
2013-11-27 12:46:04 +00:00
asfernandes
de4c3b76c3
Fixed clang build, broken since r58800 with linker undefined references.
2013-11-24 23:44:51 +00:00
asfernandes
9c9dd72977
Misc.
2013-11-24 03:21:11 +00:00
alexpeshkoff
4a8fe5a0de
Implemented CORE-4273: Per-database control on access to database from remote stations
2013-11-22 15:21:11 +00:00
alexpeshkoff
1b38b028b8
Scale of variable is signed value
2013-11-22 07:44:22 +00:00
alexpeshkoff
e18d98c60b
misc
2013-11-22 06:39:20 +00:00
asfernandes
d543daf51a
Misc.
2013-11-21 01:17:08 +00:00
alexpeshkoff
83db69c849
Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.
2013-11-18 12:20:23 +00:00
dimitr
efa979b1c1
Prevent races by allowing the worker thread to process op_exit / op_disconnect packets only after the listener had synchronously called cancel_operation(). This fixes CORE-4268: Server may crash while disconnecting from a database.
2013-11-15 09:52:55 +00:00
alexpeshkoff
b760d0ef0d
Fixed bug, reported privately by Dmitry
2013-11-15 08:30:29 +00:00
alexpeshkoff
120b10a78a
Implemented CORE-4263: Database linger
2013-11-14 16:16:24 +00:00
alexpeshkoff
cbdf8513a9
misc.debug
2013-11-14 13:52:47 +00:00
alexpeshkoff
9dbdab9d28
Enhanced diags for unprepared statement
2013-11-05 11:54:06 +00:00
alexpeshkoff
3947227e43
Do not encrypt xnet connections
2013-11-05 08:53:49 +00:00
alexpeshkoff
09eef8b980
Fixed "Enabled" state of wire encyption
2013-11-05 06:52:50 +00:00
hvlad
15e24b0dd7
Convert legacy auth server to non-builtin plugin on windows (MSVC10 build).
2013-10-29 08:46:32 +00:00
alexpeshkoff
35093b1a92
Rollback some of my wrong changes
2013-10-28 11:51:54 +00:00
alexpeshkoff
de258c2844
Convert legacy auth server to non-builtin plugin on posix
2013-10-28 10:27:40 +00:00
alexpeshkoff
5a054cca16
Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
...
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00