Skip to content
Snippets Groups Projects
Commit 26dfafe9 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Renames and small fixes

parent a7f19360
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@
#include "stream_ch_pkt.h"
#include "stream_session.h"
#include "dap_client.h"
#include "dap_server_client.h"
#include "dap_http.h"
#include "dap_http_client.h"
#include "dap_http_header.h"
......@@ -39,6 +39,8 @@
#define LOG_TAG "stream"
#define HEADER_WITH_SIZE_FIELD 12 //This count of bytes enough for allocate memory for stream packet
void stream_proc_pkt_in(stream_t * sid);
// Callbacks for HTTP client
void stream_headers_read(dap_http_client_t * sh, void * arg); // Prepare stream when all headers are read
......@@ -58,6 +60,8 @@ void stream_delete(dap_http_client_t * sh, void * arg);
struct ev_loop *keepalive_loop;
pthread_t keepalive_thread;
void start_keepalive(struct stream *sid);
// Start keepalive stream
void* stream_loop(void * arg)
{
......
......@@ -20,7 +20,7 @@
#include "dap_common.h"
#include "dap_client.h"
#include "dap_server_client.h"
#include "dap_http_client.h"
#include "stream.h"
......
......@@ -25,7 +25,7 @@
#include "dap_enc.h"
#include "dap_enc_key.h"
#include "dap_client.h"
#include "dap_server_client.h"
#include "stream.h"
#include "stream_ch.h"
#include "stream_ch_pkt.h"
......
......@@ -29,7 +29,7 @@
#include "dap_http.h"
#include "dap_http_client.h"
#include "dap_client.h"
#include "dap_server_client.h"
#include "dap_http_simple.h"
#include "stream_session.h"
......
......@@ -24,7 +24,7 @@
//#include "config.h"
#include "dap_client.h"
#include "dap_server_client.h"
#include "dap_http_client.h"
#include "dap_enc.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment