mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
Enhance transports
* Support IPv6 schema * Add transport integration tests * Add UNIX socket server
This commit is contained in:
@@ -51,8 +51,8 @@ async def open_udp_transport(spec: str) -> Transport:
|
||||
self.transport.close()
|
||||
|
||||
local, remote = spec.split(',')
|
||||
local_host, local_port = local.split(':')
|
||||
remote_host, remote_port = remote.split(':')
|
||||
local_host, local_port = local.rsplit(':', maxsplit=1)
|
||||
remote_host, remote_port = remote.rsplit(':', maxsplit=1)
|
||||
(
|
||||
udp_transport,
|
||||
packet_source,
|
||||
|
||||
Reference in New Issue
Block a user