Hi, Fran, -- Something is causing WEBSHARE to read from the socket in a situation where IE9 is not saying anything more. (As you probably guessed.) It smells like multiple calls to GETLINE.
I don't remember how many times we call GETLINE. WEBSHARE was written in the days of HTTP/0.9, which hasn't been used seriously for almost 15 years. So I don't recall how robust the HTTP/0.9 -vs- HTTP/1.x logic was. If it detects the latter, it will try to collect more lines from the client. HOWEVER, the bug might not be in the code you're looking at. Check PIPESOCKET REXX and see if it may be hung. WEBSHARE was written before we had the TCP* stages in Pipelines, so it did its own calls to REXX Sockets (PIPESOCKET). You may want to replace PIPESOCKET with "the real" TCPCLIENT stage. But I am only speculating. In any case, getting rid of PIPESOCKET would be a noble thing to do. It sounds like IE9 is holding the connection open even without a negotiated "keep alive". HTTP/1.1 explicitly allows persistent connections (with limits) and some browsers are poorly behaved: They assume that the server will do "keep alive" without actually checking. See if IE9 has an option to control persistent HTTP connections. Of course, I can suggest an alternative web server, if you are interested. :-) -- R; <>< http://www.velocitysoftware.com/ On Jun 7, 2011 7:35 AM, "Fran Hensler" <f...@zvm.sru.edu> wrote: > I am running Rick Troth's Webshare 1.2.3 in z/VM 3.1. In HTTPD REXX > there is a prodecure called GETLINE: > > GETLINE: > trace i > Do While Index(buffer,'0A'x) = 0 > 'READTO' > 'PEEKTO PACKET' > If rc \= 0 Then Leave > buffer = buffer || packet > End /* Do Forever */ > > Parse Var buffer packet '0A'x buffer > packet = packet || '0A'x > 'CALLPIPE VAR PACKET | MAKETEXT LOCAL | VAR PACKET' > trace n > Return packet > > This has worked for years until I started using Internet Explorer 9. > It now hangs on the PEEKTO PACKET statement. The trace shows no > return code. It just stops. > > Webshare is still working fine with Firefox and Chrome. > > Has anyone else run into this problem? > > /Fran Hensler at Slippery Rock University of Pennsylvania USA for 48 years > mailto:f...@zvm.sru.edu http://zvm.sru.edu/~fjh +1.724.794.6172 > "Yes, Virginia, there is a Slippery Rock" > --------------------------------------------------------------------------