make getpeername() return the original socket address which before it was intercepted
[hband-tools.git] / user-tools / json2msgpack
blobc51d185f3fa3af9cb138cb0d2a873cc6d07eae4a
1 #!/usr/bin/env python
3 import sys
4 import json
5 import msgpack
7 sys.stdout.write(msgpack.dumps(json.load(sys.stdin)))