aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2015-03-13 10:52:12 -0700
committerGravatar Nathaniel Manista <nathaniel@google.com>2015-03-13 10:52:12 -0700
commitf85720eb33a814e3a047d903021d5ea6fe60bc64 (patch)
tree647ba37eec7103da1945cb0b5016a1de480c82f3 /src
parent234c87f63e194913d907c7adfc5d2ec3ab7661a7 (diff)
parent5d85675b56477b201fe0ef30e04e52a67e46f66c (diff)
Merge pull request #1036 from Arkq/master
Fix port selection for Python server.
Diffstat (limited to 'src')
-rw-r--r--src/python/src/grpc/early_adopter/implementations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/src/grpc/early_adopter/implementations.py b/src/python/src/grpc/early_adopter/implementations.py
index 1c02f9e4d6..6fe90594a7 100644
--- a/src/python/src/grpc/early_adopter/implementations.py
+++ b/src/python/src/grpc/early_adopter/implementations.py
@@ -71,7 +71,8 @@ class _Server(interfaces.Server):
_ONE_DAY_IN_SECONDS)
self._fore_link = _fore.ForeLink(
self._pool, self._breakdown.request_deserializers,
- self._breakdown.response_serializers, None, self._key_chain_pairs)
+ self._breakdown.response_serializers, None, self._key_chain_pairs,
+ port=self._port)
self._back.join_fore_link(self._fore_link)
self._fore_link.join_rear_link(self._back)
self._fore_link.start()