-
Notifications
You must be signed in to change notification settings - Fork 866
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
[BUG] Check return of a non-blocking UDP send #973
Labels
[core]
Area: Changes in SRT library core
Priority: Medium
Type: Bug
Indicates an unexpected problem or unintended behavior
Milestone
Comments
1 task
mGaosi
added a commit
to mGaosi/srt
that referenced
this issue
Jan 22, 2024
…#2838). The lpOverlapped parameter must be valid for the duration of the overlapped operation. If multiple I/O operations are simultaneously outstanding, each must reference a separate WSAOVERLAPPED structure. This reverts commit b1c0be2. resolves Haivision#973 Haivision#2632 Haivision#2834 Haivision#2838
mGaosi
added a commit
to mGaosi/srt
that referenced
this issue
Jan 26, 2024
…#2838). The lpOverlapped parameter must be valid for the duration of the overlapped operation. If multiple I/O operations are simultaneously outstanding, each must reference a separate WSAOVERLAPPED structure. This reverts commit b1c0be2. resolves Haivision#973 Haivision#2632 Haivision#2834 Haivision#2838
maxsharabayko
added a commit
to maxsharabayko/srt
that referenced
this issue
Apr 16, 2024
The lpOverlapped parameter must be valid for the duration of the overlapped operation. If multiple I/O operations are simultaneously outstanding, each must reference a separate WSAOVERLAPPED structure. Resolves Haivision#973, Haivision#2632, Haivision#2834, Haivision#2838. Co-authored-by: Jiangjie Gao <gaojiangjie@live.com>
maxsharabayko
added a commit
to maxsharabayko/srt
that referenced
this issue
Apr 16, 2024
The lpOverlapped parameter must be valid for the duration of the overlapped operation. If multiple I/O operations are simultaneously outstanding, each must reference a separate WSAOVERLAPPED structure. Resolves Haivision#973, Haivision#2632, Haivision#2834, Haivision#2838. Co-authored-by: Jiangjie Gao <gaojiangjie@live.com>
maxsharabayko
added a commit
to maxsharabayko/srt
that referenced
this issue
Apr 17, 2024
The lpOverlapped parameter must be valid for the duration of the overlapped operation. If multiple I/O operations are simultaneously outstanding, each must reference a separate WSAOVERLAPPED structure. Resolves Haivision#973, Haivision#2632, Haivision#2834, Haivision#2838. Co-authored-by: Jiangjie Gao <gaojiangjie@live.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[core]
Area: Changes in SRT library core
Priority: Medium
Type: Bug
Indicates an unexpected problem or unintended behavior
This isssue can be divided into two:
CChannel::sendto(...)
is ignored. Should add a packet in loss list on failure.::send
operation on a UDP socket in a non-blocking mode is not checked.If
::send
fails on the sender, the receiver detects the loss and sends a loss report to sender.This is inefficient for two reasons:
Mostly observed on Windows 10 x64.
Sending 600 Mbps in live mode produces errors in
WSASend
(returnsWSAEWOULDBLOCK
).On CenOS 7
::send()
succeeded in all experiments,File transfer on Windows:
File transfer on Windows with select on send:
If first send fails, wait for 10 ms via select and try again.
The text was updated successfully, but these errors were encountered: