Implement the routine load process of Kafka on Backend (#671)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user