Bug #3649
Error code scanning with some SAT>IP clients.
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
SAT>IP
Target version:
-
Start date:
2016-03-22
Due date:
% Done:
100%
Estimated time:
Found in version:
4.1-1555~g414512d-dirty
Affected Versions:
Description
There is one problem when scanning is in course with some clients like DVBviewer. TVH responds with a 503 error code (Service Unavailable) when a freq is not found. This code is invalid according to SAT>IP specifications. This should be 405.
Solution:
Is simple to fix this problem, The error returned must be changed and all works as expected:
@src/rtsp.c#495
- int res = HTTP_STATUS_SERVICE, qsize = 3000000, created = 0, weight;
+ int res = HTTP_STATUS_NOT_ALLOWED, qsize = 3000000, created = 0, weight;
History
Updated by Jaroslav Kysela over 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|029ce39f655722129b40b7d1c08b9382d0110b65.