llurlrequest.cpp File Reference

Implementation of the URLRequest class and related classes. More...

#include "linden_common.h"
#include "llurlrequest.h"
#include <curl/curl.h>
#include <algorithm>
#include "llioutil.h"
#include "llmemtype.h"
#include "llpumpio.h"
#include "llsd.h"
#include "llstring.h"
#include "apr-1/apr_env.h"

Include dependency graph for llurlrequest.cpp:

Go to the source code of this file.

Classes

class  LLURLRequestDetail

Functions

const std::string CONTEXT_DEST_URI_SD_LABEL ("dest_uri")
static size_t headerCallback (void *data, size_t size, size_t nmemb, void *user)
static std::string sCAFile ("")
static std::string sCAPath ("")

Variables

static const U32 HTTP_STATUS_PIPE_ERROR = 499


Detailed Description

Implementation of the URLRequest class and related classes.

Author:
Phoenix
Date:
2005-04-28
LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llurlrequest.cpp.


Function Documentation

const std::string CONTEXT_DEST_URI_SD_LABEL ( "dest_uri"   ) 

String constants

static size_t headerCallback ( void data,
size_t  size,
size_t  nmemb,
void user 
) [static]

Definition at line 546 of file llurlrequest.cpp.

References end, LLURLRequestComplete::header(), LLURLRequestComplete::httpStatus(), i, s, utf8str_tolower(), and utf8str_trim().

Referenced by LLURLRequest::setCallback().

static std::string sCAFile ( ""   )  [static]

class LLURLRequest

Referenced by LLURLRequest::initialize(), and LLURLRequest::setCertificateAuthorityFile().

static std::string sCAPath ( ""   )  [static]

Referenced by LLURLRequest::initialize(), and LLURLRequest::setCertificateAuthorityPath().


Variable Documentation

const U32 HTTP_STATUS_PIPE_ERROR = 499 [static]

Definition at line 47 of file llurlrequest.cpp.


Generated on Thu Jul 1 06:10:45 2010 for Second Life Viewer by  doxygen 1.4.7