Skip to content

Commit 8595592

Browse files
committed
Configure the Apache FastCGI proxy module to flush
1 parent 5153f91 commit 8595592

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

etc/apache.conf.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,17 @@ RewriteRule Makefile$ - [F]
9999
RewriteEngine Off
100100
</Directory>
101101

102+
<IfModule proxy_fcgi_module>
103+
# Configure the Apache FastCGI proxy module to flush chunks of data after
104+
# 500ms even if the buffer is not full. This prevents delayed events and
105+
# half-flushed event objects in a streaming event feed.
106+
# Related: https://svn.apache.org/viewvc?view=revision&revision=1802040
107+
<Proxy "fcgi://localhost">
108+
ProxySet flushpackets=auto
109+
ProxySet flushwait=500
110+
</Proxy>
111+
</IfModule>
112+
102113
# When running a proxy or loadbalancer in front of this apache instance,
103114
# you can use these directives to trust the proxy / loadbalancer and let
104115
# this apache instance use the correct client IP. Note that if you use a

0 commit comments

Comments
 (0)