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

Remove invalid assert in the HTTP logger #12120

Merged
merged 1 commit into from
Apr 1, 2025
Merged

Conversation

erikjv
Copy link
Collaborator

@erikjv erikjv commented Mar 25, 2025

The assumption that the content "device" is a QBuffer when it is closed, is wrong: it can very well be a QNetworkReply, plus that shouldn't matter just for logging.

Fixes: #12098

The assumption that the content "device" is a `QBuffer` when it is
closed, is wrong: it can very well be a `QNetworkReply`, plus that
shouldn't matter just for logging.

Fixes: #12098
@erikjv erikjv requested a review from modSpike March 25, 2025 13:31
@erikjv erikjv self-assigned this Mar 25, 2025
Copy link

update-docs bot commented Mar 25, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@erikjv
Copy link
Collaborator Author

erikjv commented Mar 25, 2025

As an example: on line 69, a case is done to QNetworkReply (which in turn is not a QBuffer).

@DeepDiver1975 DeepDiver1975 merged commit 7ea26ea into master Apr 1, 2025
6 checks passed
@DeepDiver1975 DeepDiver1975 deleted the work/invalid-assert branch April 1, 2025 14:24
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.

Assert in httplogger
2 participants