Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtsp: send responses as single packets
Under some circumstances, RTSP responses would be split into multiple packets. This causes Airfoil to barf, as it interprets the end of the packet as the end of the response. Since TCP_CORK is not portable, this fix buffers the packet on the stack before using a single write. This fixes issue #213.
- Loading branch information
Showing
1 changed file
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5ed2af1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muhahhahhahha ... It causes Airfoil to barf! Lol best commit comment yet!
5ed2af1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q. Does this fix those packet resend requests?