Wind River Support Network


LIN7-3531 : wrlinux4.3 - apache proxy server close TCP session during transmission

Created: Apr 28, 2015    Updated: Sep 8, 2018
Resolved Date: Apr 29, 2015
Found In Version:
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Networking


PC-------------Proxy----------Web server(content)
        (WRL 4.3/Web server)   (WRL4.3 or Linux host)

The proxy may close TCP session(Proxy <-> Web server) 
during transmission.

Steps to Reproduce

add proxy option to apache-ssl.spec(configure)
    --enable-proxy \
    --enable-proxy-http \

%configure \
    --enable-so \
    --enable-cgi \
+    --enable-proxy \
+    --enable-proxy-http \

2. add the setting below to  proxy server conf (/etc/apache2/httpd.conf) 

<IfModule proxy_module>
      ProxyRequests off
      ProxyPass /
      ProxyPassReverse /

3.set proxy server index.html(/usr/share/apache2/htdocs/index.html)

<img src="test1.jpg" />
<img src="test2.png" />

and add "test1.jpg"(3M) / "test2.png"(1M) proxy web server
  /usr/sbin/httpd (or strace -f /usr/sbin/httpd) web server(default setting is OK)
   /usr/sbin/httpd (or strace -f /usr/sbin/httpd)
6.access proxy web server from PC by browser
7. set dummy MAC address of proxy web server on back-end server during data transmission
    arp -s server IP address) 00:11:22:33:44:55
8. delete the dummy MAC address on back-end server  before timeout
    arp -d server IP address)

Other Downloads

Live chat