Timeline for Possible ways of implementing an HTTP proxy with priority mechanism
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 27, 2016 at 10:04 | vote | accept | elmazzun | ||
Nov 10, 2016 at 12:58 | comment | added | elmazzun |
The "promised response" over the last if is the packet removed from a priority queue? Because if it is from a GET request, all packets from server must be enqueued (missing in your code snippet); if it is a CONNECT request then, like you did, I have to enqueue them anyway and this, I do. My problem is sending the packets retrieved from queue: it may be my ignorance speaking, but I don't see the solution. GET or CONNECT, I read packets coming from both client and server and I enqueue them, that is easy: the matter is sending them.
|
|
Nov 9, 2016 at 15:41 | history | answered | utnapistim | CC BY-SA 3.0 |