#include "linden_common.h"
#include "llcurl.h"
#include <algorithm>
#include <iomanip>
#include <curl/curl.h>
#include <openssl/crypto.h>
#include "llbufferstream.h"
#include "llstl.h"
#include "llsdserialize.h"
#include "llthread.h"
Go to the source code of this file.
Namespaces | |
namespace | boost |
Classes | |
class | LLCurl::Easy |
class | LLCurl::Multi |
Defines | |
#define | SAFE_SSL 1 |
Functions | |
void | boost::intrusive_ptr_add_ref (LLCurl::Responder *p) |
void | boost::intrusive_ptr_release (LLCurl::Responder *p) |
size_t | curlReadCallback (char *data, size_t size, size_t nmemb, void *user_data) |
size_t | curlWriteCallback (char *data, size_t size, size_t nmemb, void *user_data) |
size_t | curlHeaderCallback (void *data, size_t size, size_t nmemb, void *user_data) |
Variables | |
static const S32 | EASY_HANDLE_POOL_SIZE = 5 |
static const S32 | MULTI_PERFORM_CALL_REPEAT = 5 |
static const S32 | CURL_REQUEST_TIMEOUT = 30 |
static const S32 | MAX_ACTIVE_REQUEST_COUNT = 100 |
S32 | gCurlEasyCount = 0 |
S32 | gCurlMultiCount = 0 |
#define SAFE_SSL 1 |
Definition at line 39 of file llcurl.cpp.
size_t curlHeaderCallback | ( | void * | data, | |
size_t | size, | |||
size_t | nmemb, | |||
void * | user_data | |||
) |
Definition at line 430 of file llcurl.cpp.
References LLCurl::Easy::getHeaderOutput(), and n.
Referenced by LLCurl::Easy::prepRequest().
size_t curlReadCallback | ( | char * | data, | |
size_t | size, | |||
size_t | nmemb, | |||
void * | user_data | |||
) |
Definition at line 404 of file llcurl.cpp.
References LLCurl::Easy::getInput(), llmin(), n, and S32.
Referenced by LLCurl::Easy::prepRequest().
size_t curlWriteCallback | ( | char * | data, | |
size_t | size, | |||
size_t | nmemb, | |||
void * | user_data | |||
) |
Definition at line 420 of file llcurl.cpp.
References LLCurl::Easy::getChannels(), LLCurl::Easy::getOutput(), LLChannelDescriptors::in(), n, and S32.
Referenced by LLCurl::Easy::prepRequest().
const S32 CURL_REQUEST_TIMEOUT = 30 [static] |
const S32 EASY_HANDLE_POOL_SIZE = 5 [static] |
S32 gCurlEasyCount = 0 |
Definition at line 82 of file llcurl.cpp.
Referenced by LLCurl::Easy::getEasy(), LLCurl::Multi::Multi(), and LLCurl::Easy::~Easy().
S32 gCurlMultiCount = 0 |
Definition at line 83 of file llcurl.cpp.
Referenced by LLCurl::Easy::getEasy(), LLCurl::Multi::Multi(), and LLCurl::Multi::~Multi().
const S32 MAX_ACTIVE_REQUEST_COUNT = 100 [static] |
const S32 MULTI_PERFORM_CALL_REPEAT = 5 [static] |