Skip to content

Change receiving #44

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

Merged
merged 10 commits into from
Sep 18, 2024
Merged

Change receiving #44

merged 10 commits into from
Sep 18, 2024

Conversation

Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Sep 10, 2024

This PR which removes the need for _no_response functions.
Now, after transferring the socket control from the RTSP session to the TCP Source, the session changes it's behavior. After sending a request, rather than trying to receive the response from the socket, it will invoke a receive do to receive the response from another process. The response still needs to be supplied.

The reasoning for this change is that when the session doesn't control the socket trying to receive from it could cause unintended behavior, like race conditions.

This PR also introduces retrying on 401 responses

Copy link
Member

@mat-hek mat-hek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Noarkhh Noarkhh self-assigned this Sep 18, 2024
@Noarkhh Noarkhh merged commit 4bf32ce into master Sep 18, 2024
3 checks passed
@Noarkhh Noarkhh deleted the change-receiving branch September 18, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants