Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split the monolithic functions preparing special variables such as $_REQUEST or $_SERVER into multiple functions to enable feeding of data from multiple sources. In case of FastCGI protocol, the values are sent by the web server. Import parts of proxygen and thrift. Added #ifdef's to allow compilation with an unpatched version of libevent library. Reviewed By: @ptarjan Differential Revision: D988737 Differential Revision: D1008756 Differential Revision: D1021808 Differential Revision: D1035231
- Loading branch information
Showing
104 changed files
with
22,160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef HPHP_THIRD_PARTY_GLOG_PORTABILITY | ||
#define HPHP_THIRD_PARTY_GLOG_PORTABILITY | ||
|
||
#include <glog/logging.h> | ||
|
||
#define CHECK_NULL(val) CHECK_EQ((val), static_cast<void*>(NULL)) | ||
|
||
#endif // #ifndef HPHP_THIRD_PARTY_GLOG_PORTABILITY | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set(CXX_SOURCES) | ||
auto_sources(files "*.cpp" "RECURSE" "${CMAKE_CURRENT_SOURCE_DIR}") | ||
list(APPEND CXX_SOURCES ${files}) | ||
|
||
find_package(Boost 1.48.0 COMPONENTS thread system REQUIRED) | ||
include_directories(${Boost_INCLUDE_DIRS}) | ||
link_directories(${Boost_LIBRARY_DIRS}) | ||
|
||
include_directories("${HPHP_HOME}/hphp/third_party") | ||
add_library(hphp_thrift STATIC ${CXX_SOURCES}) | ||
|
||
target_link_libraries(hphp_thrift ${Boost_LIBRARIES} | ||
${LIBGLOG_LIBRARY} | ||
${LIBPTHREAD_LIBRARIES}) | ||
|
Oops, something went wrong.