0:17 AM
oberstet has quit
0:18 AM
energizer joined the channel
0:36 AM
itamar has quit
0:36 AM
itamar joined the channel
0:39 AM
itamarst has quit
0:40 AM
itamar has quit
0:40 AM
itamar joined the channel
0:43 AM
clokep joined the channel
0:53 AM
itamar has quit
0:56 AM
LionsMane joined the channel
0:57 AM
jcline has quit
1:12 AM
clokep joined the channel
1:15 AM
artige
Is anyone around who is _really_ familiar with Twisted Web?
1:15 AM
Specifically the client portion
1:16 AM
clokep has quit
1:19 AM
runciter
artige: mmmm
1:19 AM
artige: treq?
1:19 AM
artige: what's up, though?
1:20 AM
artige
runciter: I've got a fully functional HTTP+CONNECT proxy agent implementation that I'd like to add keep-alive to
1:20 AM
I have no idea where to begin
1:20 AM
runciter
whoops
1:20 AM
artige: yeah, so that's going to be hard because making CONNECT work requires messing with private APIs :\
1:20 AM
let's take a look
1:20 AM
got a link?
1:21 AM
artige
Yeah, just a sec
1:21 AM
1:21 AM
runciter: ^^
1:22 AM
runciter
oic
1:22 AM
artige
Sorry for the nonexistent documentation, I didn't think I would ever be doing a non-toy project with this so I never bothered
1:22 AM
But the time has come, the walrus said, to implement many things
1:22 AM
runciter
artige: sorry, i completely misunderstood
1:22 AM
i thought you wanted a roxy *server* that understood CONNECT
1:22 AM
even though you said client
1:22 AM
artige
Oh, it's okay
1:23 AM
runciter
one sec
1:26 AM
1:27 AM
so i think
1:31 AM
you'd want to adapt your ConnectEndpoint to ProxyAgent
1:31 AM
since this goes through the connection pooling guts
1:31 AM
artige
right
1:34 AM
runciter
hm
1:35 AM
it's not clear that you can easily use the existing HTTP11ClientProtocol.request method to establish the CONNECT
1:37 AM
no, i think you can
1:37 AM
since a successful CONNECT will 200, which should put the protocol back into QUIESCENT
1:54 AM
jcline joined the channel
2:00 AM
artige
runciter: gotcha, i'll give it a shot
2:00 AM
EACFreddy has quit
2:00 AM
runciter
artige: that wasn't very clear, sorry
2:00 AM
i have to finish some other stuff up
2:00 AM
but this should go into twisted
2:01 AM
artige
runciter: The proxy implementation or keepalive-related stuff?
2:01 AM
kenaan joined the channel
2:01 AM
kenaan
Tickets pending review:
https://tm.tl/#9269 , #7922, #9287, #9295, #9299, #9300, #761, #8487, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
2:01 AM
runciter
artige: keep-alive should already be handled
2:02 AM
artige
oh, then i'd be happy to contribute the proxy implementation, but I'm not sure what tests would be important to write
2:03 AM
EACFreddy joined the channel
2:03 AM
pyn joined the channel
2:07 AM
rthille-ciena joined the channel
2:08 AM
jcline has quit
2:11 AM
jcline joined the channel
2:31 AM
jcline has quit
2:35 AM
jcline joined the channel
3:17 AM
ohadsh has quit
3:51 AM
clokep joined the channel
4:16 AM
keturn joined the channel
4:24 AM
clokep joined the channel
5:00 AM
kenaan
rodrigc submitted <
https://tm.tl/#9271> ; - .rpy files don't work with twist web --path on python 3 (unassigned) for review
5:33 AM
LordVan joined the channel
6:02 AM
clokep joined the channel
6:32 AM
clokep joined the channel
6:35 AM
__marco joined the channel
6:56 AM
markrwilliams reviewed <
https://tm.tl/#9271> ; - .rpy files don't work with twist web --path on python 3 (unassigned)
7:01 AM
Tickets pending review:
https://tm.tl/#9269 , #7922, #9287, #9295, #9299, #9300, #761, #8487, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495
7:12 AM
clokep joined the channel
7:30 AM
evil_gordita joined the channel
7:34 AM
psi29a joined the channel
7:47 AM
liiwi joined the channel
8:21 AM
oberstet joined the channel
8:45 AM
brodolfo joined the channel
8:48 AM
brodolfo has quit
8:56 AM
terrycojones joined the channel
9:05 AM
oberstet has quit
9:22 AM
oberstet joined the channel
9:27 AM
terrycojones joined the channel
10:20 AM
itamar joined the channel
10:49 AM
clajo04_ joined the channel
11:02 AM
terrycojones has quit
11:09 AM
slav0nic joined the channel
11:11 AM
terrycojones joined the channel
11:54 AM
terrycojones has quit
12:00 PM
clokep joined the channel
12:01 PM
Tickets pending review:
https://tm.tl/#8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495, #9269, #7922, #9287, #9295, #9299, #9300, #761, #8487
12:28 PM
mwhudson joined the channel
12:28 PM
mwhudson joined the channel
12:44 PM
ShalokShalom_ joined the channel
12:54 PM
rthille-ciena joined the channel
12:57 PM
mwhudson joined the channel
12:57 PM
mwhudson joined the channel
12:59 PM
itamarst joined the channel
13:02 PM
terrycojones joined the channel
13:03 PM
itamar has quit
13:12 PM
terrycojones has quit
13:14 PM
terrycojones joined the channel
13:36 PM
evil_gordita has quit
14:04 PM
LordVan has quit
14:15 PM
terrycojones has quit
14:16 PM
terrycojones joined the channel
14:23 PM
terrycojones has quit
14:28 PM
terrycojones joined the channel
14:48 PM
terrycojones joined the channel
15:04 PM
terrycojones has quit
15:08 PM
psi29a has quit
15:09 PM
terrycojones joined the channel
15:17 PM
terrycojones joined the channel
15:20 PM
iffy joined the channel
15:38 PM
itamar joined the channel
15:43 PM
itamar has quit
16:09 PM
terrycojones has quit
16:26 PM
oberstet joined the channel
17:01 PM
Tickets pending review:
https://tm.tl/#8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176, #7495, #9269, #7922, #9287, #9295, #9299, #9300, #761, #8487
17:17 PM
epopt joined the channel
17:32 PM
terrycojones joined the channel
17:49 PM
itamarst has quit
18:05 PM
Arfrever joined the channel
18:07 PM
efphe joined the channel
18:31 PM
slav0nic joined the channel
18:40 PM
itamar joined the channel
18:50 PM
moshez has quit
19:10 PM
Evidlo joined the channel
19:11 PM
foom2 is now known as foom
19:12 PM
epopt joined the channel
19:13 PM
Evidlo
19:14 PM
Would namespacing my logs help with this?
19:16 PM
19:23 PM
iffy has left the channel
19:25 PM
ah, nevermind. I didn't notice I had an extra print statement in my log function
19:27 PM
is there any way to tell the new logging system not to intercept stuff sent to stdout?
19:28 PM
with the legacy system, you could do log.startLogging(setStdout=false)
19:40 PM
rthille-ciena joined the channel
20:12 PM
energizer_ joined the channel
20:14 PM
energizer1 joined the channel
20:23 PM
ronin_ joined the channel
20:25 PM
ronin_
hi. does anybody have experience integrating twisted with Python cmd module? I have a situation that I am not quite able to fix and could use a bit of advice. Thanks
20:34 PM
meejah
ronin_: i've not used "cmd" but what's the issue?
20:35 PM
ronin_
in a nutshell: i would like to use cmd to have an "interactive" shell that will allow me to start and stop a simple HTTPS server using twisted
20:35 PM
sofar and based on examples I have seen, something like this in theory should work:
20:36 PM
in the main function of the py script run reactor.callInThread(MyCmd.cmdloop()) and reactor.run()
20:37 PM
at this point cmd loop is running as expected and i can enter my "commands"
20:37 PM
however, when i try to start the https server using reactor.callFromThread(reactor.listeSSL, opt1, opt2, ....), the server does not start
20:38 PM
now, I realize that cmdloop is blocking and that reactor.run actually doesnt even execute, which also makes callFromThread not executing properly also make sense