0:22 AM
seen_ has quit
0:31 AM
seen_ joined the channel
0:33 AM
seen_ has quit
0:36 AM
seen_ joined the channel
1:33 AM
clokep joined the channel
3:02 AM
kenaan
Tickets pending review:
https://tm.tl/#9199 , #8159, #9208, #761, #8966 (the0id), #9100, #9101, #9118 (the0id), #4964 (jameshilliard), #9131, #9138, #9143
3:45 AM
moshez has quit
3:49 AM
Wulf joined the channel
3:52 AM
moshez joined the channel
4:57 AM
energizer has quit
4:57 AM
energizer joined the channel
5:09 AM
runciter joined the channel
5:11 AM
merlinsbrain__ joined the channel
5:15 AM
wsanchez_ joined the channel
5:16 AM
amee2k_ joined the channel
5:17 AM
jchampion_ joined the channel
5:22 AM
merlinsbrain_ has quit
5:22 AM
wsanchez has quit
5:22 AM
amee2k has quit
5:22 AM
jchampion has quit
5:22 AM
wsanchez_ is now known as wsanchez
5:24 AM
ecx86 has quit
5:27 AM
ecx86 joined the channel
5:46 AM
mwhudson joined the channel
5:46 AM
mwhudson joined the channel
6:03 AM
oberstet joined the channel
6:04 AM
Nik_2154324 joined the channel
6:08 AM
__marco joined the channel
6:19 AM
Spr0cket has quit
6:21 AM
lukky513 has quit
6:21 AM
derek_v has quit
6:25 AM
Spr0cket joined the channel
6:26 AM
CcxWrk joined the channel
6:26 AM
runciter joined the channel
6:26 AM
Nik_2154324 has left the channel
6:35 AM
derek_v joined the channel
6:42 AM
lukky513 joined the channel
6:52 AM
psi29a joined the channel
6:52 AM
Nik_2154324 joined the channel
6:53 AM
Nik_2154324
Hi. In resent days, does anybody had problem in twisted with ssl connections?
6:53 AM
Nik_2154324 has left the channel
6:55 AM
Nik_2154324 joined the channel
6:57 AM
my code worked perfectly last few months, but today I got error (Failure instance: Traceback: <class 'OpenSSL.SSL.ZeroReturnError'>)
6:57 AM
But code did not changed.
6:58 AM
psi29a has quit
6:59 AM
njs
ZeroReturnError just means a clean close of the connection
6:59 AM
OpenSSL is weird like that
7:00 AM
I don't know why you would suddenly start getting it when you didn't before though
7:11 AM
psi29a joined the channel
7:30 AM
kenaan
7:33 AM
energizer has quit
7:33 AM
Nik_2154324 has left the channel
7:34 AM
glyph reviewed <
https://tm.tl/#9208> ; - logged traceback when hitting ESC in browser using HTTP2 (unassigned)
7:36 AM
7:45 AM
psi29a has quit
7:58 AM
psi29a joined the channel
8:02 AM
Tickets pending review:
https://tm.tl/#8159 , #761, #8966 (the0id), #9100, #9101, #9118 (the0id), #4964 (jameshilliard), #9131, #9138, #9143
8:35 AM
psi29a has quit
8:37 AM
Dev0n joined the channel
8:48 AM
evil_gordita joined the channel
8:48 AM
psi29a joined the channel
9:29 AM
psi29a has quit
9:51 AM
psi29a joined the channel
10:22 AM
psi29a has quit
10:43 AM
10:59 AM
Taggnostr joined the channel
11:00 AM
Taggnostr2 has quit
11:18 AM
psi29a joined the channel
11:28 AM
__marco joined the channel
11:31 AM
Evilham joined the channel
12:05 PM
LordVan joined the channel
12:12 PM
clokep joined the channel
13:02 PM
Tickets pending review:
https://tm.tl/#8159 , #761, #8966 (the0id), #9100, #9101, #9118 (the0id), #4964 (jameshilliard), #9131, #9138, #9143
13:07 PM
itamarst joined the channel
13:58 PM
LordVan has quit
14:13 PM
epopt joined the channel
14:20 PM
n-st has quit
14:23 PM
n-st joined the channel
14:26 PM
dol-sen has quit
14:48 PM
rokthewok joined the channel
14:49 PM
rokthewok
Hey all, quick question: when was the command line option "--pidfile" added to the twistd script? Trying to track down which release contained that change.
14:51 PM
rokthewok has quit
14:57 PM
Evilham has quit
15:19 PM
psi29a has quit
15:19 PM
jchampion_ has quit
15:21 PM
jchampion joined the channel
15:26 PM
dol-sen joined the channel
15:41 PM
itamarst has quit
15:50 PM
rthille-ciena joined the channel
16:19 PM
evil_gordita has quit
16:47 PM
seen_ has quit
16:47 PM
seen_ joined the channel
16:50 PM
energizer joined the channel
17:39 PM
psi29a joined the channel
18:02 PM
kenaan
Tickets pending review:
https://tm.tl/#8159 , #761, #8966 (the0id), #9100, #9101, #9118 (the0id), #4964 (jameshilliard), #9131, #9138, #9143
18:04 PM
StephenS joined the channel
18:07 PM
OnceMe joined the channel
18:08 PM
OnceMe
can twisted work fine with websockets and paho mqtt lib?
18:14 PM
itamarst joined the channel
18:25 PM
psi29a has quit
18:29 PM
DigiDigi` has quit
18:33 PM
meejah
OnceMe: the Autobahn library works with paho mqtt
18:33 PM
(with Crossbar)
18:33 PM
(oops, will answer further in #autobahn)
18:39 PM
kaliy joined the channel
18:41 PM
psi29a joined the channel
18:42 PM
DigiDigi` joined the channel
18:44 PM
kenaan
new web enhancement
https://tm.tl/#9211 by wsanchez: Handle future-yielding coroutines in twisted.web._flatten._flattenElement
18:46 PM
new core enhancement
https://tm.tl/#9212 by wsanchez: ensureDeferred should complain in a useful way when given a Future-yielding coroutine.
18:47 PM
new web enhancement
https://tm.tl/#9213 by wsanchez: Narrative documentation for t.w.template needs to provide an example of using a coroutine
18:48 PM
moshez has quit
18:49 PM
jerith joined the channel
18:56 PM
moshez joined the channel
19:16 PM
tenth joined the channel
20:05 PM
rthille-ciena joined the channel
20:08 PM
tenth has quit
20:36 PM
pocek_ has quit
20:47 PM
OnceMe has quit
21:11 PM
21:23 PM
ezarowny joined the channel
22:12 PM
EACFreddy has quit
22:17 PM
_moshez joined the channel
22:17 PM
glyph
_moshez: for no reason at all let's talk about requestFactory
22:17 PM
_moshez: let's say that you wanted to, I don't know, upload a very large file to a Klein server
22:17 PM
_moshez
if I want to upload, say, 100MB files to a klein-based server, how much of an idiot I am 1-10? :)
22:17 PM
glyph
how did I ever guess you were going to ask that
22:18 PM
22:18 PM
_moshez
glyph: Guido's time machine, we had that discussion :)
22:18 PM
ok
22:18 PM
glyph
right now the behavior of twisted.web when receiving a request is to stick it all into memory until it gets to big, then to spool it away into /tmp
22:18 PM
I'm guessing you don't want to do that
22:19 PM
_moshez
glyph: it's...going to be a mime/multipart, right? I haven't done that kind of thing in literally years
22:19 PM
glyph
okay hang on don't skip to the bad part we're still talking about the good part
22:19 PM
_moshez
glyph: so if it's spooled into a file, then I have to grab my 100MB out of that file and put it into a new file?
22:19 PM
glyph: ok.
22:19 PM
EACFreddy joined the channel
22:20 PM
sorry. go on.
22:21 PM
I'm looking at 288. I think I should be able to live without a progress bar
22:21 PM
psi29a has quit
22:21 PM
moshez has quit
22:22 PM
glyph
_moshez: so the _first_ problem is that the entire *entity-body* of the upload is going to be buffered before Twisted talks to you. That's relatively easy to fix. The reason #288 can't fix it is that 'getChildWithDefault' implementations are _technically within their rights_ to call .content.read()
22:22 PM
luckily
22:22 PM
nobody ever _actually_ does that
22:22 PM
so you can write your own (ha ha) subclass of Request
22:23 PM
and then handle the data of the upload however you want, by overriding requestReceived and handleContentChunk.
22:23 PM
_moshez
ok, so a lower-bound on my idiocy is already 3, right?
22:23 PM
glyph
_moshez: I don't think it's particularly stupid to implement good stuff :)
22:23 PM
_moshez: but we're about to get to where you are regretful, if not necessarily stupid
22:23 PM
_moshez
subclassing request is the bad part :(
22:24 PM
glyph
_moshez: you could easily do this compositionally if Request weren't such a giant mess; but you really do only have to override 3 methods: allHeadersReceived, handleContentChunk, requestReceived.