Skip to content

Commit 79a6047

Browse files
committed
Release PoC as v0.1.0a1
1 parent c012a3f commit 79a6047

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

rpcproxy.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
#!/usr/bin/env python3
22

3+
# Build with cython:
4+
#
5+
# cython rpcproxy.py --embed
6+
# gcc -O3 -I /usr/include/python3.5m -o rpcproxy rpcproxy.c \
7+
# -Wl,-Bstatic -lpython3.5m -lz -lexpat -lutil -Wl,-Bdynamic -lpthread -ldl -lm
8+
39
from argparse import ArgumentParser
410
from http.server import HTTPServer, BaseHTTPRequestHandler
511
from os import path
612
from urllib.parse import urlparse
713
import socket
814

915

10-
VERSION = '0.0.0'
16+
VERSION = '0.1.0a1'
1117
BUFSIZE = 32
1218
DELIMITER = ord('\n')
1319
INFO = """JSON-RPC Proxy

0 commit comments

Comments
 (0)