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

...

parent 7fe79777
No related branches found
No related tags found
No related merge requests found
Pipeline #7225 passed with stage
in 11 seconds
...@@ -481,9 +481,11 @@ void dap_http_client_read( dap_events_socket_t *a_esocket, void *a_arg ) ...@@ -481,9 +481,11 @@ void dap_http_client_read( dap_events_socket_t *a_esocket, void *a_arg )
if ( l_http_client->http->url_proc->cache == NULL && l_http_client->proc->headers_read_callback ) { if ( l_http_client->http->url_proc->cache == NULL && l_http_client->proc->headers_read_callback ) {
pthread_rwlock_unlock(&l_http_client->http->url_proc->cache_rwlock); pthread_rwlock_unlock(&l_http_client->http->url_proc->cache_rwlock);
l_http_client->proc->headers_read_callback( l_http_client, NULL ); l_http_client->proc->headers_read_callback( l_http_client, NULL );
}else }else{
pthread_rwlock_unlock(&l_http_client->http->url_proc->cache_rwlock); pthread_rwlock_unlock(&l_http_client->http->url_proc->cache_rwlock);
if(s_debug_http)
log_it(L_DEBUG, "Cache is present, don't call underlaying callbacks");
}
// If no headers callback we go to the DATA processing // If no headers callback we go to the DATA processing
if( l_http_client->in_content_length ) { if( l_http_client->in_content_length ) {
if(s_debug_http) if(s_debug_http)
......
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