-
Notifications
You must be signed in to change notification settings - Fork 152
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
imapd: track characters used in IMAP tags #5055
base: master
Are you sure you want to change the base?
Conversation
We think we don't want to actually merge this, just include it in our builds until we've got the data we're interested in, then drop it. |
@elliefm I removed the |
5e9e139
to
c7e3929
Compare
@rsto I've fixed the conflicts, so we could re-tag it now. But actually, I think I'll take the opportunity to change the data it collects based on what we saw from the first run. So let's not re-tag it just yet, wait till I've got it ready for the next lot of stats. |
(tags otherwise containing dots are still unusual)
5c9fab8
to
2ba2745
Compare
@ksmurchison @rsto I've updated this to log unusual tags at LOG_INFO rather than LOG_DEBUG, and improve the tracking and reporting based on shortcomings I noticed in the original stats. The last 3 commits are the new ones. |
This extends the existing IMAP client behaviour tracking to record categories of characters used in tags
We don't have existing tests for the client behaviour logging, except for a couple of cursory checks in Simple and ID. I might feel more comfortable with some tests that verify the character class mappings detect as expected, but it'd be a whole new test suite, is it worth the effort? I dunno.