Changeset 76

Show
Ignore:
Timestamp:
09/30/06 12:48:41 (2 years ago)
Author:
kbarnes3
Message:

Fixed a bug that I introduced in the last change set. Now the Overhaul client
sits around waiting forever when it visits an Overhaul page. I'm thinking this
is the correct behavior because it should wait until it has the whole file
before going on, but that will mean waiting forever at the moment.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/overhaul_handler.js

    r75 r76  
    3434        var countChunk; 
    3535        for(countChunk = 0; countChunk < numChunk; countChunk++)        { 
    36                 if(chunks_held[countChunk] != null) 
    37                         //receivedDataArray[countChunk] = chunks_held[countChunk]; 
    38                 else    { 
     36                /*if(chunks_held[countChunk] != null) 
     37                        receivedDataArray[countChunk] = chunks_held[countChunk]; 
     38                else    {*/ 
     39                if(chunks_held[countChunk] == null){ 
    3940                         
    4041                        var host = null; 
  • trunk/overhaul_headers.js

    r65 r76  
    8989                                var hosts = parse_hosts(hosts_header); 
    9090                                 
    91                                 var thisHandler = new overhaul_handler(hosts.ipStringList, 
     91                                var thisHandler = new overhaul_handler(hosts.ipStringList,  
    9292                                        hosts.portStringList, this.url, filename, chunks_held, md5_list); 
    9393                        }