commit a7c054c55153c44891b8d1b14f93f0e03777fa6c
Author: jianghua wang <email address hidden>
Date: Mon Jun 5 03:02:09 2017 +0100
Fix the race condition with novnc
The first RFP negotiation message potentially arrived
earlier, in which case the message will be swallowed
by the recv() which receive response for the http
request. This commit is to ensure only the response
is removed from the socket buffer, so it won't impact
the following RFP negotiation.
Reviewed: https:/ /review. openstack. org/470798 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a7c054c5515 3c44891b8d1b14f 93f0e03777fa6c
Committed: https:/
Submitter: Jenkins
Branch: master
commit a7c054c55153c44 891b8d1b14f93f0 e03777fa6c
Author: jianghua wang <email address hidden>
Date: Mon Jun 5 03:02:09 2017 +0100
Fix the race condition with novnc
The first RFP negotiation message potentially arrived
earlier, in which case the message will be swallowed
by the recv() which receive response for the http
request. This commit is to ensure only the response
is removed from the socket buffer, so it won't impact
the following RFP negotiation.
Change-Id: I100e140acbc2d9 81f7b98e12b3e9a e02844f41fd
Closes-Bug: #1695844