-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Variable naming improvement needed (when logging) #344
Comments
Here's a few more:
|
To clarify: refactoring code is not a bad idea, but at this stage, I have in mind only the variables in logging output. |
@systemcrash The HEP protocol is around for some time and I'm just a stranger who wanted to contribute back so I wrote the heplify tools for my company and gave them away to the sipcapture repo. The variables you mention are mostly from other places like the old kamailio hep module. I'm totally with you that the names are not the best and open for improvements/suggestions. |
Well, partially, but here: #365 Will have to tackle the internal names at a later stage. Requires transitioning things that the Homer GUI may depend on. |
When debugging, decoder.go writes e.g.:
Some variables in the code are confusing and raise more questions than they provide answers, when used in their context - to provide information - and, IMO, should be renamed with respect to Layers for clarity:
How comprehensive would such a change be? (At least in local heplify-server code)
The text was updated successfully, but these errors were encountered: