History log of /PHP-8.1/ext/snmp/snmp.c (Results 1 – 25 of 345)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33
# 26e42446 09-Nov-2021 Nikita Popov

Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default

Unfortunately, libedit is locale based and does not accept UTF-8
input when the C locale is used. This patch switches the defaul

Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default

Unfortunately, libedit is locale based and does not accept UTF-8
input when the C locale is used. This patch switches the default
locale to C.UTF-8 instead (if it is available). This makes libedit
work and I believe it shouldn't affect behavior of single-byte
locale-dependent functions that PHP otherwise uses.

Closes GH-7635.

show more ...

Revision tags: php-7.3.32, php-7.3.31, php-7.3.30
# 718e9134 11-Aug-2021 Remi Collet

add SHA256 and SHA512 for security protocol

# a4db7436 19-Jul-2021 Nikita Popov

Remove THREAD_LS

This sounds like it will give you a thread local storage, but in
truth ... it does absolutely nothing.

Revision tags: php-7.3.29
# 92dfd973 27-May-2021 Nikita Popov

Use early return in snmp

This avoids the odd dangling elses.

# 2237102b 27-May-2021 Remi Collet

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix snmp build without DES


# f9fd3595 27-May-2021 Remi Collet

Fix snmp build without DES

# 87e4970e 14-May-2021 Máté Kocsis

Declare SNMP properties

Additionally, convert them to typed properties.

Closes GH-6742

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28
# dc402cb0 09-Apr-2021 George Peter Banyard

Fix SNMP

This one had objid_query->array_output = ( (st & SNMP_CMD_SET) ? false : true ); initially
which means that if it was equal to 0 it would be equal to true.

# 63331958 08-Apr-2021 George Peter Banyard

Refactor SNMP extension a bit

Use RETURN_* macros instead of RETVAL_* + return;
Use proper boolean types
Use zend_string instead of char* to prevent unnecessary strlen calculation

Refactor SNMP extension a bit

Use RETURN_* macros instead of RETVAL_* + return;
Use proper boolean types
Use zend_string instead of char* to prevent unnecessary strlen calculation

Closes GH-6846

show more ...

# a730dc0c 15-Feb-2021 Máté Kocsis

Generate class entries for snmp, soap, sockets, sodium, sqlite3, sysv*, tidy

Closes GH-6696

# e591cc75 02-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Remove unnecessary cast in snmp_set_oid_output_format


# b20362c2 02-Feb-2021 Nikita Popov

Remove unnecessary cast in snmp_set_oid_output_format

This cast isn't needed, and could result in the ValueError being
skipped due to truncation.

Revision tags: php-7.3.27
# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 422d1665 14-Jan-2021 Nikita Popov

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
sin

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
since PHP 7.

The only difference that was still left is that _ex checked whether
the type is the same first, but the usage of these macros did not
actually distinguish on whether such an inlined check is valuable
or not in a given context.

Also drop the unused convert_to_explicit_type macros.

show more ...

Revision tags: php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1
# 6fc2cab2 02-Nov-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #70461: disable md5 code when it is not supported in net-snmp


# 0123f75b 02-Nov-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #70461: disable md5 code when it is not supported in net-snmp


# 9690ded2 28-Oct-2020 Christoph M. Becker

Fix #70461: disable md5 code when it is not supported in net-snmp

Patch contributed by Alexander Bergmann.

Closes GH-6389.

Revision tags: php-7.3.24, php-7.3.24RC1
# 5480e6b1 08-Oct-2020 Nikita Popov

Accept bool in snmp_set_(quick|enum)_print()

The integer parameter here is actually a boolean.
snmp_set_quick_print() already documented it as such, and
snmp_get_quick_print() was al

Accept bool in snmp_set_(quick|enum)_print()

The integer parameter here is actually a boolean.
snmp_set_quick_print() already documented it as such, and
snmp_get_quick_print() was already returning a boolean.

show more ...

Revision tags: php-7.3.23
# e950ca13 20-Sep-2020 Máté Kocsis

Consolidate the usage of "either" and "one of" in error messages

Closes GH-6173

Revision tags: php-7.3.23RC1
# 62c20c66 08-Sep-2020 George Peter Banyard

Promote warnings to Error in SNMP extension

# c98d4769 10-Sep-2020 Máté Kocsis

Consolidate new union type ZPP macro names

They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.

Closes GH-6112

# 79efbb15 10-Sep-2020 Nikita Popov

Fix leak in snmp

# 712c914f 09-Sep-2020 Nikita Popov

Suppress uninitialized variable warning in snmp

These are false positive warnings.

# b553ba7c 08-Sep-2020 Nikita Popov

Avoid use of remote_port in snmp

This field is not used (and has not been used for a long time --
I've seen some mailing list thread from 2003 about it!) and throws
a deprecation war

Avoid use of remote_port in snmp

This field is not used (and has not been used for a long time --
I've seen some mailing list thread from 2003 about it!) and throws
a deprecation warning. The port is part of peername instead (for
transports that support a port at all).

show more ...

12345678910>>...14