Implement the routine load process of Kafka on Backend (#671)

This commit is contained in:
Mingyu Chen
2019-02-28 15:15:31 +08:00
committed by ZHAO Chun
parent da308da17c
commit 0820a29b8d
57 changed files with 1542 additions and 608 deletions

View File

@ -18,6 +18,7 @@
#include <http/utils.h>
#include "common/logging.h"
#include "common/utils.h"
#include "http/http_common.h"
#include "http/http_headers.h"
#include "http/http_request.h"
@ -54,7 +55,7 @@ bool parse_basic_auth(const HttpRequest& req, std::string* user, std::string* pa
return true;
}
bool parse_basic_auth(const HttpRequest& req, HttpAuthInfo* auth) {
bool parse_basic_auth(const HttpRequest& req, AuthInfo* auth) {
std::string full_user;
if (!parse_basic_auth(req, &full_user, &auth->passwd)) {
return false;