Because of not adding the callback.succeed(). I cannot see the detail result before,resulting in my confusing. Sorry for it.
The thing I want to do is to use the priority to block the resource I want to get. For example my childpath here:
A: childpath.add("img/clink/clinklittle128.png");
B: childpath.add("js/preloadjs.min.js");
C: childpath.add("index.html");
D: childpath.add("css/infocard.css");
And I build a tree
A
|
C
/ \
B D
A is a really big file while C is a big file but smaller than A. I hope A is large because it may cost much time for transporting then the client may wait a very long time to get B , C , D(that is what I am interested, some server's performance may be degraded because of the priority). But the result shows that the order finished is B,D,C,A (while my request order is A,B,C,D). Maybe that is because of flow control(I guess so).
And if I do not use the the priority. The finished order still remains B,D,C,A. Then how can I know whether the server complete the priority logic and where the pros of priority are.
But when they are both small files. The result goes as the priority order(So I think client part is okay for priority sending).
Best Regards
Muhui Jiang