diff --git a/compile_commands.json b/compile_commands.json deleted file mode 100644 index 0c5473e..0000000 --- a/compile_commands.json +++ /dev/null @@ -1,282 +0,0 @@ -[ -{ - "directory": "/home/adam/github/webcc/build/third_party/src/pugixml", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -std=c++11 -o CMakeFiles/pugixml.dir/pugixml.cpp.o -c /home/adam/github/webcc/third_party/src/pugixml/pugixml.cpp", - "file": "/home/adam/github/webcc/third_party/src/pugixml/pugixml.cpp" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/globals.cc.o -c /home/adam/github/webcc/webcc/globals.cc", - "file": "/home/adam/github/webcc/webcc/globals.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_async_client.cc.o -c /home/adam/github/webcc/webcc/http_async_client.cc", - "file": "/home/adam/github/webcc/webcc/http_async_client.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_client.cc.o -c /home/adam/github/webcc/webcc/http_client.cc", - "file": "/home/adam/github/webcc/webcc/http_client.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_session.cc.o -c /home/adam/github/webcc/webcc/http_session.cc", - "file": "/home/adam/github/webcc/webcc/http_session.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_message.cc.o -c /home/adam/github/webcc/webcc/http_message.cc", - "file": "/home/adam/github/webcc/webcc/http_message.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_parser.cc.o -c /home/adam/github/webcc/webcc/http_parser.cc", - "file": "/home/adam/github/webcc/webcc/http_parser.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_request.cc.o -c /home/adam/github/webcc/webcc/http_request.cc", - "file": "/home/adam/github/webcc/webcc/http_request.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_request_handler.cc.o -c /home/adam/github/webcc/webcc/http_request_handler.cc", - "file": "/home/adam/github/webcc/webcc/http_request_handler.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_request_parser.cc.o -c /home/adam/github/webcc/webcc/http_request_parser.cc", - "file": "/home/adam/github/webcc/webcc/http_request_parser.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_response.cc.o -c /home/adam/github/webcc/webcc/http_response.cc", - "file": "/home/adam/github/webcc/webcc/http_response.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_response_parser.cc.o -c /home/adam/github/webcc/webcc/http_response_parser.cc", - "file": "/home/adam/github/webcc/webcc/http_response_parser.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/http_server.cc.o -c /home/adam/github/webcc/webcc/http_server.cc", - "file": "/home/adam/github/webcc/webcc/http_server.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/logger.cc.o -c /home/adam/github/webcc/webcc/logger.cc", - "file": "/home/adam/github/webcc/webcc/logger.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/rest_async_client.cc.o -c /home/adam/github/webcc/webcc/rest_async_client.cc", - "file": "/home/adam/github/webcc/webcc/rest_async_client.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/rest_request_handler.cc.o -c /home/adam/github/webcc/webcc/rest_request_handler.cc", - "file": "/home/adam/github/webcc/webcc/rest_request_handler.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/rest_service_manager.cc.o -c /home/adam/github/webcc/webcc/rest_service_manager.cc", - "file": "/home/adam/github/webcc/webcc/rest_service_manager.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/rest_service.cc.o -c /home/adam/github/webcc/webcc/rest_service.cc", - "file": "/home/adam/github/webcc/webcc/rest_service.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/url.cc.o -c /home/adam/github/webcc/webcc/url.cc", - "file": "/home/adam/github/webcc/webcc/url.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/utility.cc.o -c /home/adam/github/webcc/webcc/utility.cc", - "file": "/home/adam/github/webcc/webcc/utility.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_async_client.cc.o -c /home/adam/github/webcc/webcc/soap_async_client.cc", - "file": "/home/adam/github/webcc/webcc/soap_async_client.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_client.cc.o -c /home/adam/github/webcc/webcc/soap_client.cc", - "file": "/home/adam/github/webcc/webcc/soap_client.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_globals.cc.o -c /home/adam/github/webcc/webcc/soap_globals.cc", - "file": "/home/adam/github/webcc/webcc/soap_globals.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_message.cc.o -c /home/adam/github/webcc/webcc/soap_message.cc", - "file": "/home/adam/github/webcc/webcc/soap_message.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_response.cc.o -c /home/adam/github/webcc/webcc/soap_response.cc", - "file": "/home/adam/github/webcc/webcc/soap_response.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_request.cc.o -c /home/adam/github/webcc/webcc/soap_request.cc", - "file": "/home/adam/github/webcc/webcc/soap_request.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_request_handler.cc.o -c /home/adam/github/webcc/webcc/soap_request_handler.cc", - "file": "/home/adam/github/webcc/webcc/soap_request_handler.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/webcc", - "command": "/usr/bin/c++ -DBOOST_ASIO_NO_DEPRECATED -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/webcc.dir/soap_xml.cc.o -c /home/adam/github/webcc/webcc/soap_xml.cc", - "file": "/home/adam/github/webcc/webcc/soap_xml.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/http_hello_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/http_hello_client.dir/main.cc.o -c /home/adam/github/webcc/example/http_hello_client/main.cc", - "file": "/home/adam/github/webcc/example/http_hello_client/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/http_hello_async_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/http_hello_async_client.dir/main.cc.o -c /home/adam/github/webcc/example/http_hello_async_client/main.cc", - "file": "/home/adam/github/webcc/example/http_hello_async_client/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/third_party/src/jsoncpp", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -std=c++11 -o CMakeFiles/jsoncpp.dir/jsoncpp.cpp.o -c /home/adam/github/webcc/third_party/src/jsoncpp/jsoncpp.cpp", - "file": "/home/adam/github/webcc/third_party/src/jsoncpp/jsoncpp.cpp" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_server.dir/__/common/book.cc.o -c /home/adam/github/webcc/example/common/book.cc", - "file": "/home/adam/github/webcc/example/common/book.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_server.dir/__/common/book_json.cc.o -c /home/adam/github/webcc/example/common/book_json.cc", - "file": "/home/adam/github/webcc/example/common/book_json.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_server.dir/services.cc.o -c /home/adam/github/webcc/example/rest_book_server/services.cc", - "file": "/home/adam/github/webcc/example/rest_book_server/services.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_server.dir/main.cc.o -c /home/adam/github/webcc/example/rest_book_server/main.cc", - "file": "/home/adam/github/webcc/example/rest_book_server/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_client.dir/__/common/book.cc.o -c /home/adam/github/webcc/example/common/book.cc", - "file": "/home/adam/github/webcc/example/common/book.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_client.dir/__/common/book_json.cc.o -c /home/adam/github/webcc/example/common/book_json.cc", - "file": "/home/adam/github/webcc/example/common/book_json.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_client.dir/main.cc.o -c /home/adam/github/webcc/example/rest_book_client/main.cc", - "file": "/home/adam/github/webcc/example/rest_book_client/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_async_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_async_client.dir/__/common/book.cc.o -c /home/adam/github/webcc/example/common/book.cc", - "file": "/home/adam/github/webcc/example/common/book.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_async_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_async_client.dir/__/common/book_json.cc.o -c /home/adam/github/webcc/example/common/book_json.cc", - "file": "/home/adam/github/webcc/example/common/book_json.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/rest_book_async_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/rest_book_async_client.dir/main.cc.o -c /home/adam/github/webcc/example/rest_book_async_client/main.cc", - "file": "/home/adam/github/webcc/example/rest_book_async_client/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_calc_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_calc_server.dir/calc_service.cc.o -c /home/adam/github/webcc/example/soap_calc_server/calc_service.cc", - "file": "/home/adam/github/webcc/example/soap_calc_server/calc_service.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_calc_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_calc_server.dir/main.cc.o -c /home/adam/github/webcc/example/soap_calc_server/main.cc", - "file": "/home/adam/github/webcc/example/soap_calc_server/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_calc_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_calc_client.dir/main.cc.o -c /home/adam/github/webcc/example/soap_calc_client/main.cc", - "file": "/home/adam/github/webcc/example/soap_calc_client/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_calc_client_parasoft", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_calc_client_parasoft.dir/main.cc.o -c /home/adam/github/webcc/example/soap_calc_client_parasoft/main.cc", - "file": "/home/adam/github/webcc/example/soap_calc_client_parasoft/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_server.dir/__/common/book.cc.o -c /home/adam/github/webcc/example/common/book.cc", - "file": "/home/adam/github/webcc/example/common/book.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_server.dir/__/common/book_xml.cc.o -c /home/adam/github/webcc/example/common/book_xml.cc", - "file": "/home/adam/github/webcc/example/common/book_xml.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_server.dir/book_service.cc.o -c /home/adam/github/webcc/example/soap_book_server/book_service.cc", - "file": "/home/adam/github/webcc/example/soap_book_server/book_service.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_server", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_server.dir/main.cc.o -c /home/adam/github/webcc/example/soap_book_server/main.cc", - "file": "/home/adam/github/webcc/example/soap_book_server/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_client.dir/__/common/book.cc.o -c /home/adam/github/webcc/example/common/book.cc", - "file": "/home/adam/github/webcc/example/common/book.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_client.dir/__/common/book_xml.cc.o -c /home/adam/github/webcc/example/common/book_xml.cc", - "file": "/home/adam/github/webcc/example/common/book_xml.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_client.dir/book_client.cc.o -c /home/adam/github/webcc/example/soap_book_client/book_client.cc", - "file": "/home/adam/github/webcc/example/soap_book_client/book_client.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/example/soap_book_client", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/soap_book_client.dir/main.cc.o -c /home/adam/github/webcc/example/soap_book_client/main.cc", - "file": "/home/adam/github/webcc/example/soap_book_client/main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/third_party/src/gtest", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/gtest.dir/gtest-all.cc.o -c /home/adam/github/webcc/third_party/src/gtest/gtest-all.cc", - "file": "/home/adam/github/webcc/third_party/src/gtest/gtest-all.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/third_party/src/gtest", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/gtest.dir/gtest_main.cc.o -c /home/adam/github/webcc/third_party/src/gtest/gtest_main.cc", - "file": "/home/adam/github/webcc/third_party/src/gtest/gtest_main.cc" -}, -{ - "directory": "/home/adam/github/webcc/build/unittest", - "command": "/usr/bin/c++ -DWEBCC_ENABLE_LOG -DWEBCC_ENABLE_SOAP -DWEBCC_LOG_LEVEL=0 -I/usr/local/include -I/home/adam/github/webcc -I/home/adam/github/webcc/third_party/src -I/home/adam/github/webcc/third_party/src/jsoncpp -std=c++11 -o CMakeFiles/webcc_unittest.dir/rest_service_manager_test.cc.o -c /home/adam/github/webcc/unittest/rest_service_manager_test.cc", - "file": "/home/adam/github/webcc/unittest/rest_service_manager_test.cc" -} -] \ No newline at end of file diff --git a/webcc/http_parser.cc b/webcc/http_parser.cc index 1e26362..2afa1e0 100644 --- a/webcc/http_parser.cc +++ b/webcc/http_parser.cc @@ -91,15 +91,15 @@ bool HttpParser::Parse(const char* data, std::size_t length) { } bool HttpParser::ParseHeader(const std::string& line) { - std::vector splitted; - boost::split(splitted, line, boost::is_any_of(":")); + std::vector parts; + boost::split(parts, line, boost::is_any_of(":")); - if (splitted.size() != 2) { + if (parts.size() != 2) { return false; } - std::string& name = splitted[0]; - std::string& value = splitted[1]; + std::string& name = parts[0]; + std::string& value = parts[1]; boost::trim(name); boost::trim(value); @@ -133,7 +133,6 @@ bool HttpParser::ParseHeader(const std::string& line) { void HttpParser::Finish() { if (!content_.empty()) { // Move content to message. - // "Content-Length" already set in ParseHeader(). message_->SetContent(std::move(content_), /*set_length*/false); } finished_ = true;