Comments (2)
All read and write events of Tengine operate in Edge-Triggered mode. It is efficient and safe.
The directive proxy_buffering is enabled by default. You can disable the proxy_buffering specifically. Then, the response is passed to a client synchronously.
proxy_buffering off;
proxy_buffer_size 64k;
proxy_buffers 256 64k;
BTW, if the upstream response with the header "X-Accel-Buffering: no" specifically, even if the Tengine directive "proxy_buffering on" by default, the response will be passed to the client synchronously.
from tengine.
Thanks for the response. In my test case, I was serving a static file from the disk directly with Tengine (using the root
directive). I was not using the reverse proxy functionality, so I do not believe that directive will fix the problem. I will try setting proxy_buffering
in the test environment.
Additionally, the issue only occurs when using XQUIC. Using the same configuration, I can serve the same file with HTTP/2 and HTTP/1.1 without significant memory increase. I traced the buffering behavior with XQUIC to the function ngx_http_xquic_send_chain
in gdb, and I do not believe it is possible to disable it with configuration.
I can provide the full configuration if needed.
from tengine.
Related Issues (20)
- Tengine/3.1.0 + Tongsuo-8.4.0 +国密证书+国际证书:加上ssl_reject_handshake on 时国密无法连接。
- Project dead? HOT 3
- dyups module: 多worker问题场景下worker挂掉后新拉齐的worker是否有之前动态加载的upstream数据? HOT 1
- upstream_addr 字段 打印多个端口的问题。
- What are the advantages of using ngx_ingress_module over ngx_http_lua_module? HOT 2
- quikc start get some other vendor module error HOT 5
- 多次reload后,产生多个日志进程不释放 HOT 3
- 500 HOT 2
- qat fw_counter计数不增长,停留在0值。 HOT 5
- [BUG] SSL_read bad length when upload 2.9GB file HOT 3
- kernel: dh895xcc 0000:60:00.0: Process nginx exit with orphan rings HOT 5
- Tengine支持的底层lib最新版本 HOT 4
- bug: 日志文件出现"async del conn epoll_ctl",文件fd出现泄漏吗? HOT 1
- 如何查看tengine是否利用上qat HOT 2
- 各位,问一下ngx_http_reqstat_module模块捕获不到下载文件和上传文件的流量吗?
- 修改源码隐藏headers 中server 信息,403报错中没有隐藏。其他请求中隐藏了
- tengine + xquic 上传文件超过 200K 后出现文件内容损坏 HOT 4
- 希望能够将tengine的nginx升级至1.26.1 HOT 1
- 如何实现通过tengine直接上传文件和查看文件上传进度 HOT 1
- 能否支持自定义http code 的统计监控
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tengine.