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

clientParsePlaylist fix #146

Merged
merged 3 commits into from
Jan 9, 2020
Merged

Conversation

bazooka07
Copy link

Hello,
for clientParsePlaylist() in main/cebclient.c file, I have found 2 issues and more adjustements :

  • char port[5] is not enough for a number of 5 digits as the port. char port[6] is required with the null char at end of string
  • I think port[j] = 0 is missing
  • in serveFile(), if the file is not found, the app sends an 404 error, not 500 error
  • By default nb=1 if not found with a setStation request

So, the issues #144 (stream at http://87.118.126.101:19406/stream) and instant with get method are fixed.

@karawin karawin merged commit 96d0638 into karawin:master Jan 9, 2020
@karawin
Copy link
Owner

karawin commented Jan 9, 2020

Great job, thanks

@bazooka07 bazooka07 deleted the clientParsePlaylist branch January 12, 2020 21:37
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.

None yet

2 participants