History log of /PHP-5.5/ext/mysqlnd/mysqlnd_net.c (Results 76 – 91 of 91)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d339672e 01-Apr-2010 Andrey Hristov

Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).

Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)

show more ...


# f534df71 01-Apr-2010 Andrey Hristov

Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).

Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)

show more ...


# ffb8df30 01-Apr-2010 Andrey Hristov

Better fix for bug #51347 mysqli_close / connection memory leak


# a712d9ce 01-Apr-2010 Andrey Hristov

Better fix for bug #51347 mysqli_close / connection memory leak


# 4735c712 01-Apr-2010 Andrey Hristov

Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is

Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().

show more ...


# 311ab2c8 01-Apr-2010 Andrey Hristov

Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is

Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().

show more ...


Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1
# beaa4d04 14-Jan-2010 Andrey Hristov

Fix compiler warning, copy&paste error


# 81695689 08-Jan-2010 Andrey Hristov

export some calls to init/deinit code outside of the module


# d20fdd60 08-Jan-2010 Andrey Hristov

improve the stats subsystem. Reduce the number of macro definitions
in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer
from being aggregated and add triggers.


# 3264e519 08-Jan-2010 Andrey Hristov

add restart_psession and end_psession hooks


# 73b23fca 07-Jan-2010 Andrey Hristov

Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime
easily which protocol to use by instantiating the right protocol
obje

Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime
easily which protocol to use by instantiating the right protocol
object. But this is restricted to the structure of the packets, not
the flow.

show more ...


Revision tags: php-5.3.2RC1
# 41ac91ae 21-Dec-2009 Andrey Hristov

Move this function to MYSQLND_NET as it works on the
php stream


# b4477669 21-Dec-2009 Andrey Hristov

Move compression and decompression code to separate functions
which can be overloaded on purpose.


# 028bd4ba 17-Dec-2009 Andrey Hristov

refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read an

refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)

show more ...


# d233b0b2 16-Dec-2009 Andrey Hristov

call free_contents in every case, in case something is not freed
by the calling code


# b3546d1b 16-Dec-2009 Andrey Hristov

move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer


1234