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

Support for URLs longer than 4096 characters #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vfilanovsky
Copy link

No description provided.

@JoeDog
Copy link
Owner

JoeDog commented Mar 9, 2016

I'll look at this and I'm not opposed to applying it but what browsers
support URLs longer than 4096 characters? On IE the max url is 2083
characters.

Jeff

On Tue, Mar 8, 2016 at 8:06 PM, vfilanovsky [email protected]
wrote:


You can view, comment on, or merge this pull request online at:

#50
Commit Summary

  • Support for URLs longer than 4096 characters

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#50.

@vfilanovsky
Copy link
Author

Hi Jeff,

I used Siege to generate load on a mid-tier service, which is not supposed to be accessed through a browser. I guess I'm not the only one who uses Siege in this scenario. I understand both browsers and web servers might implement restrictions on URL length, but still it's a valid use case. Chrome supports URLs longer than 4k characters.

The problem here is that regardless of browser's behavior, it's possible to configure Siege with long URLs - either through URL file or command line. And if URL length exceeds 4k, Siege crashes. I think support for long URLs comes in handy, but if you have reservations, then perhaps checking the length and erroring out might be another option. Or better yet, implement both - increase supported URL length and error out when the length is exceeded.

@JoeDog
Copy link
Owner

JoeDog commented Mar 9, 2016

Gotcha. I should probably move this to the heap and make it dynamic but for
now I implement your suggestion.

On Wed, Mar 9, 2016 at 2:16 AM, vfilanovsky [email protected]
wrote:

Hi Jeff,

I used Siege to generate load on a mid-tier service, which is not supposed
to be accessed through a browser. I guess I'm not the only one who uses
Siege in this scenario. I understand both browsers and web servers might
implement restrictions on URL length, but still it's a valid use case.
Chrome supports URLs longer than 4k characters.

The problem here is that regardless of browser's behavior, it's possible
to configure Siege with long URLs - either through URL file or command
line. And if URL length exceeds 4k, Siege crashes. I think support for long
URLs comes in handy, but if you have reservations, then perhaps checking
the length and erroring out might be another option. Or better yet,
implement both - increase supported URL length and error out when the
length is exceeded.


Reply to this email directly or view it on GitHub
#50 (comment).

@afeld
Copy link

afeld commented Dec 3, 2016

Closes #59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants