qy, your response was wrong, what more would you want?
Link Mauve
You’re expected to respect the protocol, not invent your own one. ^^'
marc0shas left
marc0shas joined
Link Mauve
There is indeed no mechanism for notifying of an error happening as a result of an error or result stanza.
Zash
SIGSEGV
Alexhas left
SouLhas left
Link Mauve
qy, 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
Zash
FWIW Prosody ignores the hash in the response and calculates it itself for cache keying
dogehas joined
Link Mauve
Oh, so it could like, intercept all disco#info results ever, and build a caps cache, and automatically reply to all other requests?
Link Mauve
Ah no, because of the node part.
Link Mauve
Hmm…
Link Mauve
Now that the bookmarks situation is solved, let’s migrate to ecaps2 too.
Link Mauve
It will solve all problems and be great!
Zash
ALL THE PROBLEMS
wurstsalathas left
dogehas left
rafasaurushas joined
thomaslewishas joined
thomaslewishas left
qy
Link Mauve: no i just meant some "im rejecting this response" message wouldnt hurt
qy
If it's a thing that happens it makes it impossible to debug incorrect implementations for example
qy
So 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
Sam
Link 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 :)
Sam
I 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 Mauve
I’ve never used this module, only fixed this blatant violation of XEP-0047 I found yesterday.
Sam
Ah gotcha; thanks for that
Link Mauve
Note that it still isn’t used, you can still get a <data/> containing more data than the requested block-size.
machas left
Sam
I 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
Sam
Also, 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
Sam
Nevermind, 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
Zash
Do we need a tools category at https://xmpp.org/software/ ?
Zash, MattJ: yes that was me. but I think you can drop your tools here
emus
then we can change the domain
TheCoffeMakerhas joined
emus
wurstsalat:
paulhas left
Yagizаhas joined
Yagizаhas left
Yagizаhas joined
Yagizаhas left
Yagizаhas joined
Yagizаhas left
wurstsalat
emus: yes?
Yagizаhas joined
Yagizаhas left
Yagizаhas joined
Yagizаhas left
atomicwatchhas joined
nephelehas left
nephelehas joined
xeckshas left
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
xeckshas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
machas left
machas joined
atomicwatchhas left
atomicwatchhas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
me9has left
Zash
Where does the line between tool and client even go?
Zash
Let's drop everything and spend a few months developing a thorough taxonomy of software!
emus
wurstsalat: can we simply change the domain?
alacerhas joined
emus
Zash: Tool is jist something which does not clearly goes into the other category. e.g. badxmpp or mattj's migrator
emus
> Zash escribió:
> Let's drop everything and spend a few months developing a thorough taxonomy of software!
yes please!
alacerhas left
Zash
a start: https://github.com/xsf/xmpp.org/pull/1040
larmahas joined
debaclehas joined
machas left
junaidhas left
junaidhas joined
nephelehas left
marc0shas left
marc0shas joined
nephelehas joined
machas joined
machas left
jubalhhas joined
machas joined
thomaslewishas joined
thomaslewishas left
dezanthas left
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
Zash
badxmpp and migrator you say?
dezanthas joined
wurstsalat
are snikket server tools usable in stand-alone use cases?
Zash
Hm, what tools are you thinking of?
machas left
wurstsalat
nothing 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
defanor
Speaking 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
defanor
Found the word: it's a "plugfest".
Zash
Not ... Interop testing event?
defanor
I 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
Zash
You 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.
Zash
There 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.