Merge pull request #6387 from sfc-gh-ajbeamon/fix-endpoint-allocation
When inserting multiple streams into an EndpointMap, don't assign them to the well-known endpoint space
This commit is contained in:
commit
2e78014870
|
@ -117,7 +117,7 @@ const Endpoint& EndpointMap::insert(NetworkAddressList localAddresses,
|
|||
int adjacentFree = 0;
|
||||
int adjacentStart = -1;
|
||||
firstFree = -1;
|
||||
for (int i = 0; i < data.size(); i++) {
|
||||
for (int i = wellKnownEndpointCount; i < data.size(); i++) {
|
||||
if (data[i].receiver) {
|
||||
adjacentFree = 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue