--- tvheadend/src/http.c 2016-04-03 21:38:03.000000000 +0200 +++ tvheadend/src/http.c 2016-04-04 14:12:17.307511782 +0200 @@ -328,6 +331,10 @@ http_send_header(http_connection_t *hc, htsbuf_append_str(&hdrs, "\r\n"); + char srt[4096]; + htsbuf_peek(&hdrs,srt,4095); + tvhtrace("http", "Send HEADER >>\n%s\n>>",srt); + tcp_write_queue(hc->hc_fd, &hdrs); } --- tvheadend/src/satip/rtsp.c 2016-04-04 14:00:41.187765643 +0200 +++ tvheadend/src/satip/rtsp.c 2016-04-04 14:15:20.085543875 +0200 @@ -1317,6 +1318,11 @@ rtsp_process_describe(http_connection_t pthread_mutex_lock(&hc->hc_fd_lock); http_send_header(hc, HTTP_STATUS_OK, "application/sdp", q.hq_size, NULL, NULL, 0, NULL, NULL, &args); + + char srt[4096]; + htsbuf_peek(&q,srt,4095); + tvhtrace("satips", "Send BODY\n>>\n%s\n>>",srt); + tcp_write_queue(hc->hc_fd, &q); pthread_mutex_unlock(&hc->hc_fd_lock); http_arg_flush(&args);