Skip to content

Commit

Permalink
Merge pull request #1122 from square/jwilson_1103_use_copy
Browse files Browse the repository at this point in the history
Fix a concurrency bug in SPDY settings.
  • Loading branch information
adriancole committed Nov 4, 2014
2 parents d36079a + 3820b5c commit 5dcc4fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ private Reader() {
}
}
if (streamsToNotify != null && delta != 0) {
for (SpdyStream stream : streams.values()) {
for (SpdyStream stream : streamsToNotify) {
synchronized (stream) {
stream.addBytesToWriteWindow(delta);
}
Expand Down

0 comments on commit 5dcc4fb

Please sign in to comment.