1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-02 17:48:00 +01:00

Merge branch '2.0'

This commit is contained in:
terrafrost 2017-06-19 22:37:21 -05:00
commit 0bbac3ebed

View File

@ -130,6 +130,10 @@ class SSH2
* Dumps the content real-time to a file * Dumps the content real-time to a file
*/ */
const LOG_REALTIME_FILE = 4; const LOG_REALTIME_FILE = 4;
/**
* Make sure that the log never gets larger than this
*/
const LOG_MAX_SIZE = 1048576; // 1024 * 1024
/**#@-*/ /**#@-*/
/**#@+ /**#@+
@ -148,10 +152,6 @@ class SSH2
* Returns when a string matching the regular expression $expect is found * Returns when a string matching the regular expression $expect is found
*/ */
const READ_NEXT = 3; const READ_NEXT = 3;
/**
* Make sure that the log never gets larger than this
*/
const LOG_MAX_SIZE = 1048576; // 1024 * 1024
/**#@-*/ /**#@-*/
/** /**