printout host name before normalizing
This commit is contained in:
@ -77,8 +77,7 @@ class Stream(Base):
|
|||||||
self.settimeout(self.timeout)
|
self.settimeout(self.timeout)
|
||||||
host, _, port = self.uri.partition(':')
|
host, _, port = self.uri.partition(':')
|
||||||
# try to convert uri to host name
|
# try to convert uri to host name
|
||||||
host = short_hostname(host)
|
self.uri = self.tags['stream'] = f'{short_hostname(host)}:{port}'
|
||||||
self.uri = self.tags['stream'] = f'{host}:{port}'
|
|
||||||
print(f'{host}:{port}', '=', self.uri, 'connected')
|
print(f'{host}:{port}', '=', self.uri, 'connected')
|
||||||
self._buffer = []
|
self._buffer = []
|
||||||
self._deadline = INF
|
self._deadline = INF
|
||||||
|
Reference in New Issue
Block a user