Link Mauveqy, your response was wrong, what more would you want?
Link MauveYou’re expected to respect the protocol, not invent your own one. ^^'
marc0shas left
marc0shas joined
Link MauveThere is indeed no mechanism for notifying of an error happening as a result of an error or result stanza.
ZashSIGSEGV
Alexhas left
SouLhas left
Link Mauveqy, note that in the case of caps, it’s kind of adversarial as if the server didn’t verify the hash, anyone could poison the cache with invalid data.
dogehas left
ZashFWIW Prosody ignores the hash in the response and calculates it itself for cache keying
dogehas joined
Link MauveOh, so it could like, intercept all disco#info results ever, and build a caps cache, and automatically reply to all other requests?
Link MauveAh no, because of the node part.
Link MauveHmm…
Link MauveNow that the bookmarks situation is solved, let’s migrate to ecaps2 too.
Link MauveIt will solve all problems and be great!
ZashALL THE PROBLEMS
wurstsalathas left
dogehas left
rafasaurushas joined
thomaslewishas joined
thomaslewishas left
qyLink Mauve: no i just meant some "im rejecting this response" message wouldnt hurt
qyIf it's a thing that happens it makes it impossible to debug incorrect implementations for example
qySo i _think_ i've done it now but who the damn hell knows
xnamedhas left
machas left
rafasaurushas left
msavoritiashas left
machas joined
thomaslewishas joined
thomaslewishas left
marc0shas left
marc0shas joined
machas left
machas joined
thomaslewishas joined
thomaslewishas left
dezanthas joined
sonnyhas left
debaclehas left
rafasaurushas joined
dogehas joined
atomicwatchhas left
qy> Zash wrote:
> FWIW Prosody ignores the hash in the response and calculates it itself for cache keying
So it wasnt even an issue, goddamn it
atomicwatchhas joined
rafasaurushas left
dogehas left
dogehas joined
machas left
machas joined
atomicwatchhas left
rafasaurushas joined
atomicwatchhas joined
kikuchiyohas left
kikuchiyohas joined
dogehas left
dogehas joined
rafasaurushas left
dogehas left
dogehas joined
machas left
machas joined
dogehas left
atomicwatchhas left
thomaslewishas joined
SouLhas joined
rafasaurushas joined
dogehas joined
rafasaurushas left
rafasaurushas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
jubalhhas joined
Alexhas joined
kikuchiyohas joined
emushas joined
Yagizаhas joined
wurstsalathas joined
dogehas left
Alexhas left
Alexhas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
goffihas joined
jgarthas left
jgarthas joined
Kevhas joined
Kevhas left
debaclehas joined
pasdesushihas joined
thomaslewishas left
machas left
9lakeshas left
marmistrzhas joined
msavoritiashas joined
kikuchiyohas left
kikuchiyohas joined
nephelehas joined
Mjolnir Archonhas left
Marandahas left
Mjolnir Archonhas joined
Marandahas joined
bunghas joined
larmahas joined
jgarthas left
junaidhas left
junaidhas joined
jgarthas joined
goffihas left
marmistrzhas left
bunghas left
marc0shas left
marc0shas joined
dogehas joined
nephelehas left
nephelehas joined
SouLhas left
SouLhas joined
Dele Olajidehas joined
Dele Olajidehas left
machas joined
marmistrzhas joined
dogehas left
dogehas joined
dogehas left
debaclehas left
xnamedhas joined
dogehas joined
kikuchiyohas left
kikuchiyohas joined
sonnyhas joined
9lakeshas joined
dogehas left
me9has joined
dogehas joined
dogehas left
kikuchiyohas left
Yagizаhas left
nephelehas left
dogehas joined
nephelehas joined
goffihas joined
nephelehas left
nephelehas joined
dogehas left
nephelehas left
nephelehas joined
machas left
machas joined
dogehas joined
kikuchiyohas joined
xnamedhas left
sonnyhas left
rafasaurushas left
sonnyhas joined
dogehas left
rafasaurushas joined
dogehas joined
dogehas left
machas left
machas joined
larmahas left
SamLink Mauve: I just saw that you added block size support to mod_tcpproxy, thanks; immediately fixed an issue I was about to run into before I knew to ask :)
SamI don't understand the lua beyond copy-pasting and modifying it to take the endpoint from the config file. Can you (or maybe MattJ) confirm that it doesn't actually close the connection if you send the ibb <close>? I'm getting the connection, but having trouble in my read loop because I never get an EOF or anything to shutdown on
Link MauveI’ve never used this module, only fixed this blatant violation of XEP-0047 I found yesterday.
SamAh gotcha; thanks for that
Link MauveNote that it still isn’t used, you can still get a <data/> containing more data than the requested block-size.
machas left
SamI can close the connection on my end I guess and ignore the resulting "read from closed connection" the read loop will get. Feels weird though that prosody is leaving it hanging or some other weird thing is going on and I can't tell it's closed.
Sam(which works, the test passes and I get back the same data over TCP that I originally wrote over IBB)
Alexhas left
jubalhhas left
xeckshas left
xnamedhas joined
SamAlso, there was a scripting thing a while back that let you write small scripts (in Lua? Maybe it was related to Prosody?) to do XMPP things. Does that sound familiar to anyone? The internet is being useless, but I should probably find something like that to write integration tests against too since I'll eventually want tests that also create an IBB stream and send it to me as opposed to the other way around
Alexhas joined
SamNevermind, I think it was Scansion; found it! (weirdly by searching for a completely unrelated term, that was very hard to find)
marmistrzhas left
machas joined
xeckshas joined
jgarthas left
ZashDo we need a tools category at https://xmpp.org/software/ ?
wurstsalatare snikket server tools usable in stand-alone use cases?
ZashHm, what tools are you thinking of?
machas left
wurstsalatnothing in particular
thomaslewishas joined
thomaslewishas left
rafasaurushas left
marmistrzhas joined
PapaTutuWawahas joined
TheCoffeMakerhas left
TheCoffeMakerhas joined
marmistrzhas left
atomicwatchhas left
atomicwatchhas joined
xnamedhas left
dezanthas left
xnamedhas joined
TheCoffeMakerhas left
rafasaurushas joined
TheCoffeMakerhas joined
xnamedhas left
atomicwatchhas left
goffihas left
dezanthas joined
atomicwatchhas joined
marc0shas left
marc0shas joined
machas joined
xnamedhas joined
defanorSpeaking of integration testing, sometimes I think it'd be neat to have a repository with a bunch of tests for testing different implementations together, yet being lazy even to start composing anything like that. I think there's a name for integration testing events, something like "plug party" (though not that); a continuous/ongoing and automated version of that is what I imagine.
PapaTutuWawahas left
TheCoffeMakerhas left
defanorFound the word: it's a "plugfest".
ZashNot ... Interop testing event?
defanorI guess you can call it that if you don't like fun names.
TheCoffeMakerhas joined
rafasaurushas left
rafasaurushas joined
marc0shas left
marc0shas joined
emushas left
dropshas left
dropshas joined
ZashYou certainly do some things using scansion, since it's a thing that emulates a bunch of clients. E.g. s2s tests, run a play with two clients connecting to different servers and exchange messages and stuff.
ZashThere was the idea of adding a server mode, so it would act as a scripted server instead of scripted clients, to allow testing clients. But that's just an idea so far.