-
Notifications
You must be signed in to change notification settings - Fork 8
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
Set agent strings properly #37
Comments
Could add it to the config along with #35, have a default and then let the user customise it if they really want |
I've been wondering whether there is a scenario where a user might want to have different agent strings for different connections of the same type. I couldn't think of any such case. |
@0x00002a how busy are you currently? I'd really like to move to the first release ASAP to make maintaining applications consuming this library easier and hopefully also attracting more users & contributors. Do you feel like giving this a go? |
Sure, I'll have a crack at it along with #35 tomorrow |
Fixes #37 * chore: add customisable agent string to connection * !chore: remove top level m_cfg from controller This makes malloy::controller an abstract type... If someone needed that I would be concerned * chore: remove top level controller init Now called by the derived classes and `protected` * chore: thread agent string through call stack * chore: move top level start to protected in controller * fix: tests build * fix: missing return causing segfault * feat: set Server field in header * feat: set User-Agent field in header * fix: server overwriting Server field in responses * chore: add tests for agent strings * chore: rename ws_agent_string * chore: remove BOOST_BEAST_VERSION_STRING from agent strings * fix: tls build * chore: fixup docs and includes * chore: add missing const
Currently, agent strings are all over the place. This needs some cleaning up / more consistency.
We want to have something like
malloy-client <version>
andmalloy-server <version>
.The text was updated successfully, but these errors were encountered: