aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-26 20:58:00 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-26 20:58:00 +0200
commit3e3b59aa71a596fcddd14e72612067923a0d9b21 (patch)
tree0352d82d107e01dd58439b1846e935c561612eea /netlib
parentde0ced73f8e14aec8f94ea93c0ba0165026e09fc (diff)
downloadmitmproxy-3e3b59aa71a596fcddd14e72612067923a0d9b21.tar.gz
mitmproxy-3e3b59aa71a596fcddd14e72612067923a0d9b21.tar.bz2
mitmproxy-3e3b59aa71a596fcddd14e72612067923a0d9b21.zip
http2: fix priority stream dependency check
Diffstat (limited to 'netlib')
-rw-r--r--netlib/http/http2/frame.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/netlib/http/http2/frame.py b/netlib/http/http2/frame.py
index 24e6510a..b36b3adf 100644
--- a/netlib/http/http2/frame.py
+++ b/netlib/http/http2/frame.py
@@ -290,9 +290,6 @@ class PriorityFrame(Frame):
raise ValueError(
'PRIORITY frames MUST be associated with a stream.')
- if self.stream_dependency == 0x0:
- raise ValueError('stream dependency is invalid.')
-
return struct.pack(
'!LB',
(int(