/[projects]/miscJava/Test3/WebContent/WebsockTest.html
ViewVC logotype

Diff of /miscJava/Test3/WebContent/WebsockTest.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2109 by torben, Tue Feb 11 09:32:16 2014 UTC revision 2111 by torben, Tue Feb 11 09:52:51 2014 UTC
# Line 55  $( function() { Line 55  $( function() {
55                  socket.onclose = function(){                  socket.onclose = function(){
56                          var now = new Date().getTime();                          var now = new Date().getTime();
57                          var elapsed = now - actTime;                          var elapsed = now - actTime;
58                            elapsed = elapsed / 1000;
59                                                    
60                  append('Connection closed after ' + elapsed + ' seconds of inactivity');                  append('Connection closed after ' + elapsed + ' seconds of inactivity');
61          }          }
# Line 87  $( function() { Line 88  $( function() {
88  <input size=120  type="text" name="txt" id="txt">  <input size=120  type="text" name="txt" id="txt">
89  <button id="btn">Submit</button>  <button id="btn">Submit</button>
90    
91    <br><br>
92    <font size="2">
93    If using websockets with haproxy look into <code>timeout tunnel</code> option.
94    </font>
95    
96  </body>  </body>
 </html>  
97    </html>

Legend:
Removed from v.2109  
changed lines
  Added in v.2111

  ViewVC Help
Powered by ViewVC 1.1.20