Skip to content

Commit

Permalink
Relicense from BSD+PATENTS to straight BSD
Browse files Browse the repository at this point in the history
Reviewed By: afrind

Differential Revision: D17871920

fbshipit-source-id: 7a963b296546f667caff759de0470f2258f4ecb9
  • Loading branch information
zertosh authored and facebook-github-bot committed Oct 11, 2019
1 parent 54fb4b6 commit 6654e0d
Show file tree
Hide file tree
Showing 516 changed files with 2,515 additions and 2,982 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

cmake_minimum_required(VERSION 3.10)
include(CheckCXXCompilerFlag)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BSD License

For Proxygen software

Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Expand Down
33 changes: 0 additions & 33 deletions PATENTS

This file was deleted.

7 changes: 6 additions & 1 deletion build/fbcode_builder_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

from __future__ import absolute_import, division, print_function, unicode_literals

import specs.fizz as fizz
Expand Down
8 changes: 4 additions & 4 deletions cmake/FindZstd.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright (c) 2018, Facebook, Inc.
# All rights reserved.
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# - Find zstd
# Find the zstd compression library and includes
Expand Down
8 changes: 4 additions & 4 deletions cmake/ProxygenTest.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright (c) 2019, Facebook, Inc.
# All rights reserved.
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

option(BUILD_TESTS "Enable tests" OFF)
include(CTest)
Expand Down
5 changes: 5 additions & 0 deletions proxygen/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_subdirectory(external)
add_subdirectory(lib)
Expand Down
6 changes: 5 additions & 1 deletion proxygen/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

## Run this script to build proxygen and run the tests. If you want to
## install proxygen to use in another C++ project on this machine, run
Expand Down
6 changes: 6 additions & 0 deletions proxygen/external/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_library(
proxygen_http_parser OBJECT
http_parser/http_parser_cpp.cpp
Expand Down
5 changes: 2 additions & 3 deletions proxygen/fuzzers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Copyright (c) 2019-present, Facebook, Inc.
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
# LICENSE file in the root directory of this source tree.

function(proxygen_add_fuzzer)
if(NOT BUILD_FUZZERS)
Expand Down
10 changes: 4 additions & 6 deletions proxygen/fuzzers/ProxygenHTTP1xFuzzer.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
* Copyright (c) 2019-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <folly/portability/GFlags.h>
Expand Down
6 changes: 6 additions & 0 deletions proxygen/httpclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_subdirectory(samples)
6 changes: 6 additions & 0 deletions proxygen/httpclient/samples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_subdirectory(curl)
6 changes: 6 additions & 0 deletions proxygen/httpclient/samples/curl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_library(proxygencurl STATIC CurlClient.cpp)
target_include_directories(
proxygencurl PUBLIC
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpclient/samples/curl/CurlClient.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include "CurlClient.h"

#include <iostream>
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpclient/samples/curl/CurlClient.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <folly/io/async/EventBase.h>
Expand Down
16 changes: 5 additions & 11 deletions proxygen/httpclient/samples/curl/CurlClientMain.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
* This is a higly simplified example of an HTTP client. This can be heavily
* extended using mechanisms like redirects, transfer encoding, connection
* pooling, etc.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <folly/portability/GFlags.h>

#include "proxygen/httpclient/samples/curl/CurlClient.h"
Expand Down
6 changes: 6 additions & 0 deletions proxygen/httpclient/samples/pricli/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_executable(proxygen_pricli PriCli.cpp)
target_compile_options(
proxygen_pricli PRIVATE
Expand Down
13 changes: 5 additions & 8 deletions proxygen/httpclient/samples/pricli/PriCli.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* This example shows how to request high priority resources periodically while
* a low priority resource request is in flight.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <folly/portability/GFlags.h>

#include <folly/io/async/EventBase.h>
Expand Down
6 changes: 6 additions & 0 deletions proxygen/httpserver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

add_library(
proxygenhttpserver STATIC
RequestHandlerAdaptor.cpp
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpserver/ExMessageHandler.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <proxygen/httpserver/RequestHandler.h>
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpserver/Filters.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <proxygen/httpserver/RequestHandler.h>
Expand Down
10 changes: 4 additions & 6 deletions proxygen/httpserver/HTTPServer.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <proxygen/httpserver/HTTPServer.h>
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpserver/HTTPServer.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <wangle/ssl/SSLContextConfig.h>
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpserver/HTTPServerAcceptor.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#include <proxygen/httpserver/HTTPServerAcceptor.h>

#include <folly/ExceptionString.h>
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpserver/HTTPServerAcceptor.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <proxygen/httpserver/HTTPServer.h>
Expand Down
11 changes: 5 additions & 6 deletions proxygen/httpserver/HTTPServerOptions.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/

#pragma once

#include <folly/Function.h>
Expand Down
Loading

0 comments on commit 6654e0d

Please sign in to comment.