nghttpx: Fix build error without mruby
This commit is contained in:
parent
8ad8d70f62
commit
76ffd6bf96
|
@ -466,7 +466,9 @@ void Http2Upstream::start_downstream(Downstream *downstream) {
|
||||||
void Http2Upstream::initiate_downstream(Downstream *downstream) {
|
void Http2Upstream::initiate_downstream(Downstream *downstream) {
|
||||||
int rv;
|
int rv;
|
||||||
|
|
||||||
|
#ifdef HAVE_MRUBY
|
||||||
DownstreamConnection *dconn_ptr;
|
DownstreamConnection *dconn_ptr;
|
||||||
|
#endif // HAVE_MRUBY
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
auto dconn = handler_->get_downstream_connection(rv, downstream);
|
auto dconn = handler_->get_downstream_connection(rv, downstream);
|
||||||
|
|
|
@ -2347,7 +2347,9 @@ void Http3Upstream::start_downstream(Downstream *downstream) {
|
||||||
void Http3Upstream::initiate_downstream(Downstream *downstream) {
|
void Http3Upstream::initiate_downstream(Downstream *downstream) {
|
||||||
int rv;
|
int rv;
|
||||||
|
|
||||||
|
#ifdef HAVE_MRUBY
|
||||||
DownstreamConnection *dconn_ptr;
|
DownstreamConnection *dconn_ptr;
|
||||||
|
#endif // HAVE_MRUBY
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
auto dconn = handler_->get_downstream_connection(rv, downstream);
|
auto dconn = handler_->get_downstream_connection(rv, downstream);
|
||||||
|
|
|
@ -463,7 +463,9 @@ int htp_hdrs_completecb(llhttp_t *htp) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_MRUBY
|
||||||
DownstreamConnection *dconn_ptr;
|
DownstreamConnection *dconn_ptr;
|
||||||
|
#endif // HAVE_MRUBY
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
auto dconn = handler->get_downstream_connection(rv, downstream);
|
auto dconn = handler->get_downstream_connection(rv, downstream);
|
||||||
|
|
Loading…
Reference in New Issue