Skip to content
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

"When nobody wants to remove the max data size limit but only increase it" #68

Closed
wants to merge 2 commits into from

Conversation

Berthalamew
Copy link
Contributor

Fine I'll do it myself
(put "remove_data_size_limit = true" inside the H2Codez.conf to remove the max data size limit in its entirety)

@num0005 num0005 self-requested a review August 17, 2019 22:38
@@ -408,6 +408,12 @@ void H2CommonPatches::Init()

set_tag_data_max_size(0x3000000);

if (conf.getBoolean("remove_data_size_limit", true))
{
set_tag_data_max_size(INT_MAX);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk dude INT_MAX might be too large, maybe INT_MAX - 5

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default to false

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and a setting to set make size would be best, dunno if we have a range limited setting option

Copy link
Contributor Author

@Berthalamew Berthalamew Aug 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk if there are no issues with putting the size limit to its max there isn't really a point of putting a setting for how big you want it in (so far I haven't seen any issues when putting it to MAX)

@@ -363,7 +363,7 @@ char __cdecl tags__fix_corrupt_fields___hook(tag_block_defintions *def, tag_bloc
return tags__fix_corrupt_fields_org(def, data, 1);
}

static void set_tag_data_max_size(size_t limit)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but like seriously keep the static

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable won't change after putting the option if it's static?

@num0005
Copy link
Collaborator

num0005 commented Jun 4, 2020

#77 needs to be addressed before this can be merged.
@Berthalamew what's the status on that?

Copy link

@Kelzorz Kelzorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is inside joke.

Copy link
Collaborator

@num0005 num0005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep still an inside joke. @Berthalamew needs to stop putting it on his CV.

@num0005
Copy link
Collaborator

num0005 commented May 1, 2021

But I could just merged it 🤔

@num0005 num0005 marked this pull request as draft May 1, 2021 23:36
@num0005 num0005 closed this Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants