-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allowing tubes buffer size to be variable defaulted #803
Conversation
First, thanks for the contribution. As it stands, this needs to be rebased on top of the current This property is also a bit misleading. The name We generally use It might make the most sense to put this property on the It's also likely worth adding a helper routine Finally, you missed several
|
Gotcha. Not sure how to do all this in one pull request. Think I'll just submit a second one to hopefully make the merge cleaner. |
… On Sat, Dec 3, 2016 at 6:04 AM Owlz ***@***.***> wrote:
Gotcha. Not sure how to do all this in one pull request. Think I'll just
submit a second one to hopefully make the merge cleaner.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#803 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG0GBZBQGA56Yrjh-XtbRn7yh1SvdQjks5rEWjGgaJpZM4LA_44>
.
|
Superceded by #806 |
Buffer all repeating lines and check the minimum value when to start marking them with skip lines. In case the minimum value is not hit, just unroll the buffer. To stop skipping any lines, there is the existing bool config telescope-skip-repeat-val so we avoid adding special values to minimum like -1 and keep the setting separated. Fixes Gallopsled#803
In working with large return values on pwntools, i noticed there's no good way to get them to return properly. For instance, I was attempting to do a "recvuntil" on data that was larger than 4096. Even going in and changing the default values to higher didn't have the intended change since the fillbuffer method had statically mapped in 4096.
The proposed changes simply allow a variable when creating process/remote objects that allow the user to define the buffer size. 4096 is fine for most, so I have left that as the default. However, it is now possible to define your own size with "bufSize=9999" or whatever. In my example problematic situation, this change solved the problem.