mirror of https://github.com/grpc/grpc-web.git
Merge pull request #70 from fengli79/master
Use nginx_includes.h for nginx headers.
This commit is contained in:
commit
775d3473f8
|
|
@ -10,6 +10,7 @@
|
|||
#include "net/grpc/gateway/codec/decoder.h"
|
||||
#include "net/grpc/gateway/codec/encoder.h"
|
||||
#include "net/grpc/gateway/frontend/frontend.h"
|
||||
#include "net/grpc/gateway/nginx_includes.h"
|
||||
#include "net/grpc/gateway/runtime/constants.h"
|
||||
#include "third_party/grpc/include/grpc++/support/byte_buffer.h"
|
||||
#include "third_party/grpc/include/grpc++/support/string_ref.h"
|
||||
|
|
@ -18,10 +19,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "third_party/nginx/src/src/core/ngx_config.h"
|
||||
#include "third_party/nginx/src/src/core/ngx_core.h"
|
||||
#include "third_party/nginx/src/src/http/ngx_http.h"
|
||||
|
||||
typedef struct {
|
||||
// The pointer of the frontend instance which serves the request.
|
||||
std::shared_ptr<grpc::gateway::Frontend> frontend;
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <ngx_config.h>
|
||||
#include <ngx_core.h>
|
||||
#include <ngx_http.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Reference in New Issue