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

Fix bug with missing bandit conn #497

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

binaryseed
Copy link
Collaborator

This PR fixes a bug that happens sometimes when a bandit request fails early at the socket level. When this happens, bandit can execute telemetry events without the expected conn struct. This was partially addressed in #483 but there are a few attributes required for a Web Transaction that we need to make sure are always provided.

I was able to reproduce this locally but not consistent enough to write a test for it

(Bandit.HTTPError) Header read socket error: :closed

@tpitale tpitale merged commit bcf89e4 into master Feb 13, 2025
11 checks passed
@tpitale tpitale deleted the vince/fix-bandit-missing-conn-again branch February 13, 2025 03:30
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