I am now using cycledstacks

It seems to solve the problem, for the moment...



On Mar 29, 11:16 am, Nicolas <[email protected]> wrote:
> I have just tried with 40 requests.
>
> As in previous test, that's the last request that fails. The first 39
> go through fine!!!
>
> Any idea?
>
> Nicolas.
>
> On Mar 29, 10:43 am, Nicolas <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I have already mentionned this problem in the past.
>
> > I often send 6 requests in a very short time. And I saw that very
> > often one or two of them are lost.
>
> > To experience it more easily, I forced my code adding more requests,
> > just to make sure that I had plenty:
>
> >             this.core.request.send('ACK_RECEIPT', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
> >             this.core.request.send('BIDON1', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
> >             this.core.request.send('BIDON2', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
> >             this.core.request.send('BIDON3', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
> >             this.core.request.send('BIDON4', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
> >             this.core.request.send('BIDON5', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
> >             this.core.request.send('BIDON6', {'raw_id':raw_id,
> > 'page_counter':this.page_counter});
>
> > In Google Chrome, I see that the wrong request has the following
> > headers while the normal as the one below it:
>
> > Wrong one:
>
> > Request URL:http://1.ape.mindbelts.com:6969/0/?
> > Request Headersview source
> > Accept:text/javascript, text/html, application/xml, text/xml, */*
> > Content-type:application/x-www-form-urlencoded; charset=UTF-8
> > Origin:http://1.ape.mindbelts.com:6969
> > Referer:http://1.ape.mindbelts.com:6969/?[{%22cmd%22:%22script
> > %22,%22params%22:{%22domain%22:%22mindbelts.com%22,%22scripts%22:
> > [%22http://mindbelts.com/ape-jsf/Source/mootools-core.js%22,%22http://
> > mindbelts.com/ape-jsf/Source/Core/APE.js%22,%22http://mindbelts.com/
> > ape-jsf/Source/Core/Events.js%22,%22http://mindbelts.com/ape-jsf/
> > Source/Core/Core.js%22,%22http://mindbelts.com/ape-jsf/Source/Pipe/
> > Pipe.js%22,%22http://mindbelts.com/ape-jsf/Source/Pipe/PipeSingle.js
> > %22,%22http://mindbelts.com/ape-jsf/Source/Request/Request.js
> > %22,%22http://mindbelts.com/ape-jsf/Source/Request/Request.Stack.js
> > %22,%22http://mindbelts.com/ape-jsf/Source/Request/
> > Request.CycledStack.js%22,%22http://mindbelts.com/ape-jsf/Source/
> > Transport/Transport.longPolling.js%22,%22http://mindbelts.com/ape-jsf/
> > Source/Core/Utility.js%22,%22http://mindbelts.com/ape-jsf/Source/Core/
> > JSON.js%22,%22http://mindbelts.com/ape-jsf/Source/Core/Session.js
> > %22]}}]
> > User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11
> > (KHTML, like Gecko) Chrome/17.0.963.83 Safari/535.11
> > X-Requested-With:XMLHttpRequest
> > Form Dataview URL encoded
> > [{"cmd":"BIDON6","chl":10,"params":{"raw_id":1,"page_counter":
> > 2},"sessid":"26f15c6f4e38efeb76b0b02c5fcb1ea9"}]:
>
> > Correct one:
>
> > Request URL:http://1.ape.mindbelts.com:6969/0/?
> > Request Method:POST
> > Status Code:200 OK
> > Request Headersview source
> > Accept:text/javascript, text/html, application/xml, text/xml, */*
> > Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
> > Accept-Encoding:gzip,deflate,sdch
> > Accept-Language:en-US,en;q=0.8
> > Connection:keep-alive
> > Content-Length:109
> > Content-type:application/x-www-form-urlencoded; charset=UTF-8
> > Cookie:style_cookie=null;
> > __utma=139549871.588570566.1326127765.1326127765.1326127765.1;
> > __utmz=139549871.1326127765.1.1.utmcsr=(direct)|utmccn=(direct)|
> > utmcmd=(none); fbm_125472727508430=base_domain=.mindbelts.com;
> > fbsr_125472727508430=JkHdFXKTI6EL2FjRgt-ljhz3NEukuU4-
> > Pgftp69SFQE.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImNvZGUiOiJBUUFTVms1QWZMYkZ 
> > 0MjQ0ODdIb2NzU19sNkNfQktobUhMMENxTm1GZWNuTGJqSzF3VTNUcFlaZDZwemRsaXN1RjRueX 
> > BZUDluUDM2RWdhcENrdEVMbjV6NHo1Q2dUdDNEdVNPNzVxS0VzT3RONjNlNFVvbWtZWWRSaEdLV 
> > EVQTnhrMXZJRE13VGkySWNxOU1VR25hbURERWdmZ2lyS3FwOUQ3QXQ5bHVWM0dzRTd4c1M1czJQ 
> > MndJY3d5aFFnVUhSdDgiLCJpc3N1ZWRfYXQiOjEzMzMwMTMyNTcsInVzZXJfaWQiOiIxMjUxNzA 
> > 0NTIyIn0;
> > APE_Cookie=%7B%22frequency%22%3A3%2C%22instance%22%3A%5B%7B
> > %22identifier%22%3A%22mindbelts%22%2C%22pubid%22%3Anull%2C%22sessid
> > %22%3A%2226f15c6f4e38efeb76b0b02c5fcb1ea9%22%7D%5D%7D
> > Host:1.ape.mindbelts.com:6969
> > Origin:http://1.ape.mindbelts.com:6969
> > Referer:http://1.ape.mindbelts.com:6969/?[{%22cmd%22:%22script
> > %22,%22params%22:{%22domain%22:%22mindbelts.com%22,%22scripts%22:
> > [%22http://mindbelts.com/ape-jsf/Source/mootools-core.js%22,%22http://
> > mindbelts.com/ape-jsf/Source/Core/APE.js%22,%22http://mindbelts.com/
> > ape-jsf/Source/Core/Events.js%22,%22http://mindbelts.com/ape-jsf/
> > Source/Core/Core.js%22,%22http://mindbelts.com/ape-jsf/Source/Pipe/
> > Pipe.js%22,%22http://mindbelts.com/ape-jsf/Source/Pipe/PipeSingle.js
> > %22,%22http://mindbelts.com/ape-jsf/Source/Request/Request.js
> > %22,%22http://mindbelts.com/ape-jsf/Source/Request/Request.Stack.js
> > %22,%22http://mindbelts.com/ape-jsf/Source/Request/
> > Request.CycledStack.js%22,%22http://mindbelts.com/ape-jsf/Source/
> > Transport/Transport.longPolling.js%22,%22http://mindbelts.com/ape-jsf/
> > Source/Core/Utility.js%22,%22http://mindbelts.com/ape-jsf/Source/Core/
> > JSON.js%22,%22http://mindbelts.com/ape-jsf/Source/Core/Session.js
> > %22]}}]
> > User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11
> > (KHTML, like Gecko) Chrome/17.0.963.83 Safari/535.11
> > X-Requested-With:XMLHttpRequest
> > Form Dataview URL encoded
> > [{"cmd":"BIDON5","chl":9,"params":{"raw_id":1,"page_counter":
> > 2},"sessid":"26f15c6f4e38efeb76b0b02c5fcb1ea9"}]:
> > Response Headersview source
> > Cache-Control:no-cache, must-revalidate
> > Content-Type:text/html
> > Expires:Thu, 27 Dec 1986 07:30:00 GMT
> > Pragma:no-cache
>
> > Any idea why APE js is losing its head? What shall I do?
>
> > Nicolas.

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to