Project

General

Profile

Actions

Bug #3649

closed

Error code scanning with some SAT>IP clients.

Added by Jordi Font over 9 years ago. Updated over 9 years ago.

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;

Actions

Also available in: Atom PDF