You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Guido Hoss <gh...@datacomm.ch> on 1999/06/11 01:23:51 UTC

mod_proxy/4566: Proxy does not work with streaming servers

>Number:         4566
>Category:       mod_proxy
>Synopsis:       Proxy does not work with streaming servers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jun 10 16:30:02 PDT 1999
>Last-Modified:
>Originator:     ghoss@datacomm.ch
>Organization:
apache
>Release:        1.3.6 (Unix)
>Environment:
Linux 2.0.29 i586 / gcc version 2.7.2.1

>Description:
Please refer to PR#809 and PR#2926 for similar reports pointing to the same 
(unfixed) bug.

You need to fix this bug resp. non-feature asap. It is increasingly common for 
stock market websites to provide streaming data to Java clients via HTTP, 
and the Apache proxy can't handle this. It will buffer data from the streamer
instead of passing it to the client immediately.
>How-To-Repeat:
The following URL points to a streamer site. Submitting this URL directly to 
the server via a manual telnet connection to port 80 will yield an intermittent
stream of small binary data packets. The same request will get buffered to 
death by an Apache proxy.

http://gritch2.isld.com/SERVICE/SQUOTE?STOCK=KTEL

A sample Netscape/IE Java client which uses this service is located at 
http://www.isld.com/itchclient/javaversion.htm. 
>Fix:
I suggest to watch for the "Server: Streamer" pragma which most streaming 
sites send in the response header. If the server is a streamer, the proxy 
should pass all received data on to the client right away.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]