Page Speed Optimization Libraries  1.8.31.3
Classes | Namespaces | Defines
net/instaweb/system/public/serf_url_async_fetcher.h File Reference
#include <vector>
#include "net/instaweb/http/public/url_async_fetcher.h"
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/gtest_prod.h"
#include "net/instaweb/util/public/pool.h"
#include "net/instaweb/util/public/string.h"
#include "net/instaweb/util/public/string_util.h"
#include "net/instaweb/util/public/thread_system.h"

Go to the source code of this file.

Classes

struct  net_instaweb::SerfStats
class  net_instaweb::SerfUrlAsyncFetcher

Namespaces

namespace  net_instaweb
 

Unit-test framework for wget fetcher.


Defines

#define SERF_HTTPS_FETCHING   1
#define SERF_HTTPS_KEYWORDS

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

lsong@google.com (Libo Song)


Define Documentation

#define SERF_HTTPS_FETCHING   1

To enable HTTPS fetching with serf, we must link against OpenSSL, which is a a large library with licensing restrictions not known to be wholly inline with the Apache license. To disable HTTPS fetching: 1. Set SERF_HTTPS_FETCHING to 0 here 2. Comment out the references to openssl.gyp and ssl_buckets.c in src/third_party/serf/serf.gyp. 3. Comment out all references to openssl in src/DEPS.

If this is enabled, then the HTTPS fetching can be tested with install/apache_https_fetch_test.sh

Value:
"enable,disable,allow_self_signed," \
  "allow_unknown_certificate_authority,allow_certificate_not_yet_valid"

Identifies the set of HTML keywords. This is used in error messages emitted both from the config parser in this module, and in the directives table in mod_instaweb.cc which must be statically constructed using a compile-time concatenation. Hence this must be a literal string and not a const char*.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines