Skip to content

Added support for custom user agent#1748

Merged
drwetter merged 2 commits intotestssl:3.1devfrom
definity:3.1dev
Oct 17, 2020
Merged

Added support for custom user agent#1748
drwetter merged 2 commits intotestssl:3.1devfrom
definity:3.1dev

Conversation

@definity
Copy link
Copy Markdown
Contributor

@definity definity commented Oct 16, 2020

First stab at adding support... it seemed a bit too complicated to try and add UA_CUSTOM everywhere and try to then add checks to deal with in all the places where checks for SNEAKY were set or not, so I chose to just update UA_STD instead. I wasn't sure if you were declaring all variables as read-only, but after seeing some where you didn't I figured this would be the easiest way to work in support.

Tested the script running and confirmed I was able to see the user-agent in logging reflect what I put on the command-line.

I'm ready for abuse/flogging/feedback.

@definity definity mentioned this pull request Oct 16, 2020
@drwetter drwetter merged commit e51301d into testssl:3.1dev Oct 17, 2020
@drwetter
Copy link
Copy Markdown
Collaborator

Thank you!

@drwetter
Copy link
Copy Markdown
Collaborator

I try to just declare those kind of things once and not every where. :-)

If you don't mind you can add the feature to the CHANGES file.

And while am at it (asking): below the doc dir are man pages. If you could just add a line there that would be awesome ;-)

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.

2 participants