You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/19 06:44:42 UTC

[GitHub] [apisix] qihaiyan opened a new issue, #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

qihaiyan opened a new issue, #7491:
URL: https://github.com/apache/apisix/issues/7491

   ### Description
   
   feat: As a user, I want to config client_body_buffer_size in config.yaml, so that we could support larger post body with x-form-url-encoded contentType.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] qihaiyan commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
qihaiyan commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188852616

   I've tried client-control plugin, but it doesn't work. And using the config file is simpler than adding a plugin to all routes. @tokers 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] qihaiyan commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
qihaiyan commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188978968

   > > > > I've tried client-control plugin, but it doesn't work. And using the config file is simpler than adding a plugin to all routes. @tokers
   > > 
   > > 
   > > > 
   > > 
   > > 
   > > > Something you need to confirm:
   > > 
   > > 
   > > > 
   > > 
   > > 
   > > > ```
   > > > 1. Your apisix version
   > > > ```
   > > 
   > > 
   > > > 
   > > 
   > > 
   > > > ```
   > > > 2. Are you using the apisix-base or raw openrty?
   > > > ```
   > > 
   > > 
   > > 
   > > 1. apisix version is 2.14.1
   > > 2. I use raw openresty, because the docker image built with apisix-base is larger than raw openresty
   > 
   > See https://apisix.apache.org/zh/docs/apisix/plugins/client-control/ carefully. It already gives you the precondition.
   
   So i want to config client_body_buffer_size in config.yaml, rather than using client-control plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] qihaiyan commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
qihaiyan commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188975902

   > > I've tried client-control plugin, but it doesn't work. And using the config file is simpler than adding a plugin to all routes. @tokers
   > 
   > Something you need to confirm:
   > 
   >     1. Your apisix version
   > 
   >     2. Are you using the apisix-base or raw openrty?
   
   1. apisix version is 2.14.1
   2. I use raw openresty, because the docker image built with apisix-base is larger than raw openresty


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] spacewander commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1189697207

   raw openresty doesn't support client-control.
   
   I would suggest you add client_body_buffer_size via the custom snippet. See https://github.com/apache/apisix/blob/master/docs/en/latest/customize-nginx-configuration.md.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188897322

   > I've tried client-control plugin, but it doesn't work. And using the config file is simpler than adding a plugin to all routes. @tokers 
   
    Something you need to confirm:
   
   1. Your apisix version 
   2. Are you using the apisix-base or raw openresty?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] qihaiyan commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
qihaiyan commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188976848

   > try with: https://github.com/apache/apisix/blob/master/docs/en/latest/customize-nginx-configuration.md
   
   Because ngx_tpl.lua doesn't have a `client_body_buffer_size`, so it cann't be configed this way. @tzssangglass  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] qihaiyan closed issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
qihaiyan closed issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml
URL: https://github.com/apache/apisix/issues/7491


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188823774

   @qihaiyan Try to use the `client-control` plugin?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] qihaiyan commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
qihaiyan commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1189707024

   > > > try with: https://github.com/apache/apisix/blob/master/docs/en/latest/customize-nginx-configuration.md
   > > 
   > > 
   > > Because ngx_tpl.lua doesn't have a `client_body_buffer_size`, so it cann't be configed this way. @tzssangglass
   > 
   > This is incorrect. The custom snippet is used to add something not in `ngx_tpl.lua`.
   
   Roger that, thanks. @spacewander @tzssangglass 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188883808

   try with: https://github.com/apache/apisix/blob/master/docs/en/latest/customize-nginx-configuration.md


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1188977345

   > > > I've tried client-control plugin, but it doesn't work. And using the config file is simpler than adding a plugin to all routes. @tokers
   > 
   > > 
   > 
   > > Something you need to confirm:
   > 
   > > 
   > 
   > >     1. Your apisix version
   > 
   > > 
   > 
   > >     2. Are you using the apisix-base or raw openrty?
   > 
   > 
   > 
   > 1. apisix version is 2.14.1
   > 
   > 2. I use raw openresty, because the docker image built with apisix-base is larger than raw openresty
   
   See https://apisix.apache.org/zh/docs/apisix/plugins/client-control/ carefully. It already gives you the precondition.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] spacewander commented on issue #7491: feat: As a user, I want to config client_body_buffer_size in config.yaml

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #7491:
URL: https://github.com/apache/apisix/issues/7491#issuecomment-1189700564

   > > try with: https://github.com/apache/apisix/blob/master/docs/en/latest/customize-nginx-configuration.md
   > 
   > Because ngx_tpl.lua doesn't have a `client_body_buffer_size`, so it cann't be configed this way. @tzssangglass
   
   This is incorrect. The custom snippet is used to add something not in `ngx_tpl.lua`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org