nuclei icon indicating copy to clipboard operation
nuclei copied to clipboard

[FEATURE] Ability to Modify ResponseReadSize in Nuclei SDK

Open nascyimento opened this issue 1 year ago • 3 comments

Describe your feature request

I am currently using the Nuclei SDK v3 for a project and noticed that the property ResponseReadSize is not configurable when initializing the SDK. This limitation prevents me from customizing how much of the response body is read when processing HTTP responses. In some cases, controlling this value is essential to optimize memory usage and performance, especially when working with large response bodies.

Requested Feature: I would like to request the ability to modify the ResponseReadSize property when initializing the Nuclei SDK. This would allow users to set a custom value for the maximum size of the response body that the SDK reads.

Thank you for considering this feature request! I look forward to any updates or guidance you might provide regarding this.

Best regards, nascyimento

Describe the use case of the feature

Use Case:

Customizing the size of the response body read helps manage memory usage more effectively.

Describe alternatives you've considered

Possible Solution: Add a parameter in the SDK initialization options that allows setting the ResponseReadSize value, or provide a function that can be called to modify it after initialization.

Additional context

No response

nascyimento avatar Dec 09 '24 18:12 nascyimento

This would be a great thing, I have the same issue and this would save some headaches when dealing with larger response body

IeonardoDuarte avatar Dec 09 '24 18:12 IeonardoDuarte

Great suggestion. I had a similar problem. I haven't been able to solve it yet.

JoubertNatividade avatar Dec 09 '24 18:12 JoubertNatividade

Thanks for your feature request @nascyimento , we'll take a look into it! :)

GeorginaReeder avatar Dec 10 '24 11:12 GeorginaReeder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Jun 08 '25 00:06 github-actions[bot]

This was done as part of https://github.com/projectdiscovery/nuclei/pull/5961

ehsandeep avatar Jun 13 '25 11:06 ehsandeep