on master help sign in
adding comments.
commitbe0d8483ffcd2fbc4007f551604404d36c0b263d authorKazu Yamamoto <kazu@iij.ad.jp> dateWed 12 Aug 2015, 12:08 (11 years ago) parent6b3b886
1 file changed+6
warp/Network/Wai/Handler/Warp/HTTP2/Receiver.hs+6
warp/Network/Wai/Handler/Warp/HTTP2/Receiver.hs+6
@@ -320,7 +320,13 @@ stream FramePriority header bs Context{outputQ} s Stream{streamNumber,streamPrio
320320 PriorityFrame p <- guardIt $ decodePriorityFrame header bs
321321 checkPriority p streamNumber
322322 -- checkme: this should be tested
323+ -- fixme: This works well when the priority gets lower because
324+ -- the old higher priority value comes out from the queue quickly
325+ -- and the new lower priority is used when enqueuing again.
326+ -- But when the priority get higher, it takes time to use the new
327+ -- priority.
323328 writeIORef streamPriority p
329+ -- checkme: this should be tested
324330 when (isIdle s) $ prepare outputQ streamNumber p
325331 return s
326332