svn: /php/php-src/trunk/ext/snmp/ snmp.c tests/snmp-object.phpt tests/snmp3-error.phpt
| From: | Boris Lytochkin | Date: | Wed, 31 Aug 2011 08:28:13 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/snmp/ snmp.c tests/snmp-object.phpt tests/snmp3-error.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66054@lists.php.net to get a copy of this message | ||
lytboris Wed, 31 Aug 2011 08:28:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315862
Log:
more tuning based on discussion in FR #40816:
* parse all OIDs earlier, detect all wrong OIDs before any query
is made (GET-operations)
* introduce ERRNO_MULTIPLE_SET_QUERIES:
warn if request contains more OIDs than max_oids and SET operation
(and type&value checks) will be done in chunks.
fix set method when request contains more OIDs than max_oids (2nd and
subsequent chunk were ignored)
Bug: https://bugs.php.net/40816 (Feedback) Add
"snmptranslate" function
Changed paths:
U php/php-src/trunk/ext/snmp/snmp.c
U php/php-src/trunk/ext/snmp/tests/snmp-object.phpt
U php/php-src/trunk/ext/snmp/tests/snmp3-error.phpt
Attachment: [text/x-diff] svn-diffs-315862.txt
Attachment: [text/x-diff] svn-diffs-315862.txt