XSF Discussion - 2023-05-05


  1. singpolyma has left

  2. singpolyma has joined

  3. BASSGOD has left

  4. catchy has left

  5. BASSGOD has joined

  6. BASSGOD has left

  7. pablo has joined

  8. BASSGOD has joined

  9. krit has left

  10. *IM* has left

  11. gooya has left

  12. wladmis has left

  13. krit has joined

  14. wladmis has joined

  15. pablo has left

  16. debacle has left

  17. BASSGOD has left

  18. BASSGOD has joined

  19. Martin has left

  20. Martin has joined

  21. BASSGOD has left

  22. *IM* has joined

  23. djorz has left

  24. BASSGOD has joined

  25. robertooo has left

  26. robertooo has joined

  27. carlos has left

  28. BASSGOD has left

  29. singpolyma has left

  30. singpolyma has joined

  31. carlos has joined

  32. BASSGOD has joined

  33. antranigv has left

  34. jcbrand has joined

  35. BASSGOD has left

  36. andrew has left

  37. andrew has joined

  38. Steve Kille has left

  39. Tim R has left

  40. Tim R has joined

  41. Steve has joined

  42. BASSGOD has joined

  43. Tobi has joined

  44. Tobias has joined

  45. stp has joined

  46. *IM* has left

  47. placidus has joined

  48. BASSGOD has left

  49. oshn has left

  50. oshn has joined

  51. Martin has left

  52. placidus has left

  53. BASSGOD has joined

  54. pablo has joined

  55. placidus has joined

  56. *IM* has joined

  57. BASSGOD has left

  58. stp has left

  59. Tobias has left

  60. Tobi has left

  61. andrew has left

  62. BASSGOD has joined

  63. BASSGOD has left

  64. jcbrand has left

  65. 775857429 has left

  66. BASSGOD has joined

  67. qwestion has joined

  68. jcbrand has joined

  69. andrew has joined

  70. belove has left

  71. belove has joined

  72. qwestion has left

  73. qwestion has joined

  74. Yagiza has joined

  75. marc0s has joined

  76. Yagiza has left

  77. Yagiza has joined

  78. Trung has joined

  79. eab has left

  80. eab has joined

  81. resoli has joined

  82. adiaholic has left

  83. *IM* has left

  84. placidus has left

  85. Yagiza has left

  86. Yagiza has joined

  87. adiaholic has joined

  88. eevvoor has joined

  89. Tobias has joined

  90. *IM* has joined

  91. qwestion has left

  92. BASSGOD has left

  93. placidus has joined

  94. placidus has left

  95. BASSGOD has joined

  96. Tobias has left

  97. floretta has joined

  98. BASSGOD has left

  99. BASSGOD has joined

  100. andrew has left

  101. Tobi has joined

  102. Tobias has joined

  103. placidus has joined

  104. xengineering has left

  105. xengineering has joined

  106. BASSGOD has left

  107. placidus has left

  108. BASSGOD has joined

  109. kurisu has joined

  110. Menel has joined

  111. pablo has left

  112. Axel R. has joined

  113. floretta has left

  114. Tobias has left

  115. Tobias has joined

  116. *IM* has left

  117. placidus has joined

  118. placidus has left

  119. adiaholic has left

  120. nicola has left

  121. adiaholic has joined

  122. floretta has joined

  123. placidus has joined

  124. emus has joined

  125. placidus has left

  126. *IM* has joined

  127. resoli has left

  128. resoli has joined

  129. mirux has joined

  130. MSavoritias (fae,ve) has joined

  131. neox has joined

  132. Titi has joined

  133. millesimus has left

  134. millesimus has joined

  135. placidus has joined

  136. cal0pteryx (wurstsalat) has joined

  137. placidus has left

  138. Titi has left

  139. floretta has left

  140. *IM* has left

  141. nicola has joined

  142. wladmis has left

  143. wladmis has joined

  144. placidus has joined

  145. matthias has joined

  146. *IM* has joined

  147. Titi has joined

  148. Alex has joined

  149. *IM* has left

  150. *IM* has joined

  151. Menel has left

  152. Menel has joined

  153. Titi has left

  154. floretta has joined

  155. nicola has left

  156. LNJ has joined

  157. nicoco has left

  158. wladmis has left

  159. wladmis has joined

  160. lskdjf has joined

  161. nicola has joined

  162. Daniel has left

  163. Titi has joined

  164. Rebeld has left

  165. nicola has left

  166. placidus has left

  167. placidus has joined

  168. govanify has left

  169. goffi has joined

  170. neshtaxmpp has left

  171. Menel has left

  172. catchy has joined

  173. Daniel has joined

  174. chipmnk has left

  175. chipmnk has joined

  176. oshn has left

  177. oshn has joined

  178. placidus has left

  179. debacle has joined

  180. nicola has joined

  181. adiaholic has left

  182. adiaholic has joined

  183. matthias has left

  184. goffi has left

  185. nicola has left

  186. goffi has joined

  187. resoli has left

  188. Menel has joined

  189. neshtaxmpp has joined

  190. neshtaxmpp has left

  191. neshtaxmpp has joined

  192. jgart has joined

  193. nicoco has joined

  194. resoli has joined

  195. papatutuwawa has joined

  196. Syndace has left

  197. Syndace has joined

  198. no_1729 has left

  199. Trung has left

  200. Trung has joined

  201. stp has joined

  202. no_1729 has joined

  203. Andrzej has joined

  204. gooya has joined

  205. jgart has left

  206. stp has left

  207. Trung has left

  208. Kev has joined

  209. Kev has left

  210. debacle has left

  211. eevvoor has left

  212. Dele Olajide has joined

  213. eevvoor has joined

  214. projjalm has joined

  215. resoli has left

  216. Mikaela has joined

  217. stp has joined

  218. xnamed has left

  219. xnamed has joined

  220. stp has left

  221. BASSGOD has left

  222. papatutuwawa has left

  223. BASSGOD has joined

  224. antranigv has joined

  225. adiaholic has left

  226. adiaholic has joined

  227. SteveF has joined

  228. SteveF has left

  229. BASSGOD has left

  230. Martin has joined

  231. BASSGOD has joined

  232. SteveF has joined

  233. SteveF has left

  234. stp has joined

  235. stp has left

  236. neshtaxmpp has left

  237. neshtaxmpp has joined

  238. atomicwatch has joined

  239. atomicwatch has left

  240. atomicwatch has joined

  241. atomicwatch has left

  242. atomicwatch has joined

  243. atomicwatch has left

  244. atomicwatch has joined

  245. atomicwatch has left

  246. reika has joined

  247. Trung has joined

  248. resoli has joined

  249. Trung has left

  250. BASSGOD has left

  251. inky has left

  252. inky has joined

  253. Martin has left

  254. BASSGOD has joined

  255. Alex has left

  256. inky has left

  257. Alex has joined

  258. inky has joined

  259. Martin has joined

  260. ralphm has left

  261. flashcore has left

  262. flashcore has joined

  263. flashcore has left

  264. flashcore has joined

  265. Martin has left

  266. Martin has joined

  267. BASSGOD has left

  268. antranigv has left

  269. ralphm has joined

  270. uhoreg has left

  271. Half-Shot has left

  272. Matthew has left

  273. homebeach has left

  274. Half-Shot has joined

  275. Matthew has joined

  276. homebeach has joined

  277. uhoreg has joined

  278. BASSGOD has joined

  279. belove has left

  280. belove has joined

  281. singpolyma has left

  282. singpolyma has joined

  283. Trung has joined

  284. Rebeld has joined

  285. resoli has left

  286. Titi has left

  287. no_1729 has left

  288. BASSGOD has left

  289. SteveF has joined

  290. BASSGOD has joined

  291. ralphm has left

  292. wladmis has left

  293. wladmis has joined

  294. wladmis has left

  295. wladmis has joined

  296. singpolyma has left

  297. singpolyma has joined

  298. inky has left

  299. andrew has joined

  300. Calvin has joined

  301. floretta has left

  302. singpolyma has left

  303. zonsopkomst has left

  304. zonsopkomst has joined

  305. antranigv has joined

  306. singpolyma has joined

  307. jgart has joined

  308. Vaulor has left

  309. Vaulor has joined

  310. floretta has joined

  311. nicola has joined

  312. Kev has joined

  313. Kev has left

  314. BASSGOD has left

  315. sonny has left

  316. sonny has joined

  317. BASSGOD has joined

  318. yushyin has left

  319. xnamed has left

  320. singpolyma has left

  321. singpolyma has joined

  322. Calvin has left

  323. adiaholic has left

  324. adiaholic has joined

  325. stp has joined

  326. tbm16 has joined

  327. BASSGOD has left

  328. BASSGOD has joined

  329. yushyin has joined

  330. BASSGOD has left

  331. tbm16 has left

  332. resoli has joined

  333. antranigv has left

  334. antranigv has joined

  335. BASSGOD has joined

  336. antranigv has left

  337. antranigv has joined

  338. antranigv has left

  339. floretta has left

  340. andrew has left

  341. Alex has left

  342. Alex has joined

  343. singpolyma has left

  344. antranigv has joined

  345. antranigv has left

  346. singpolyma has joined

  347. xnamed has joined

  348. wladmis has left

  349. wladmis has joined

  350. antranigv has joined

  351. Wojtek has joined

  352. floretta has joined

  353. Alex has left

  354. xnamed has left

  355. lovetox

    when i send a stanza over the size limit, is the stream ended by the server?

  356. BASSGOD has left

  357. lovetox

    or is simply an error returned

  358. Alex has joined

  359. moparisthebest

    Stream has to be ended

  360. moparisthebest

    Well... In practice that's always going to be what happens

  361. Zash

    the stream is ended, along with all state, your user, your homework, your dog!

  362. Zash

    ALL ENDS

  363. Zash

    /s :)

  364. lovetox

    what was the rational behind that?

  365. Zash

    But stream and (xep-0198) session is unrecoverable

  366. moparisthebest

    In theory the server could read the rest of your huge stanza to /dev/null and return an error but seems funny

  367. lovetox

    why not simply reject that one stanza?

  368. nicoco has left

  369. moparisthebest

    How do you know it's gonna end?

  370. moparisthebest

    What if it's an unlimited length stanza

  371. lovetox

    ok, i understand, we need to abort the read, and we dont know how much else was behind that stanza

  372. Zash

    What is communicated is the hard limit. It existed already, but now you know it.

  373. lovetox

    could be multiple stanzas

  374. Zash

    No behavior changes.

  375. lovetox

    and then we are in an inconsistent state

  376. lovetox

    Zash, the behavior changes on client side

  377. Zash

    Only that you can now take steps to avoid being brutally </stream>'d when you send something too big

  378. lovetox

    i need to decide if i let a user send a stanza over the limit, or reject it

  379. Zash

    You can raise an exception earlier before the stanza actually kills the stream.

  380. lovetox

    so because stream end is rather bad, the lib should not send a stanza over the limit

  381. Zash

    This was already what happened if you hit the limit.

  382. Zash

    You just got </stream>'d as a random surprise before.

  383. lovetox

    yes, but my thinking was, if the server does not end the stream, simply returns an error

  384. Zash

    No

  385. lovetox

    then a lib does not need to check

  386. BASSGOD has joined

  387. Zash

    I don't see how this is possible with the current parser stack.

  388. lovetox

    im not saying it is possible

  389. lovetox

    i didnt know

  390. Zash

    nor do I want it to be possible

  391. nicola has left

  392. singpolyma has left

  393. lovetox

    and i asked to decide on the behavior of the lib

  394. singpolyma has joined

  395. Zash

    Wasn't someone working on this, for nbxmpp even?

  396. Zash

    They were asking in the Prosody channel the other day.

  397. lovetox

    yes i have a MR, and need to review it :)

  398. lovetox

    its a rather big change, because suddenly the send() method can raise an exception when it was not possible before ..

  399. mjk

    👀

  400. Zash

    yes. those kinds of changes are "fun" to review, when the ground may change below your feet

  401. Zash

    couldn't the send() method fail before?

  402. mimi89999 has left

  403. Zash

    like, the socket turned out to have been broken or something

  404. mimi89999 has joined

  405. Zash

    altho stream management could absorb that

  406. mjk

    it's async, so... it's complicated

  407. lovetox

    its just much work, many parts call send_stanza() and this method did not raise exceptions, and now it does, so you need to wrap many calls in try/except blocks

  408. Zash

    mmmm, and I'm not sure I've finished all that behavior in Prosody yet. it has the same kind of problem with s2s connections

  409. mjk

    the only exceptions send() could generate before are type system related, I think :D

  410. singpolyma

    Even more fun, send something under your c2s limit but over your peer's s2s and get the whole s2s stream terminated for everyone!

  411. moparisthebest

    Exceptions were a mistake :)

  412. Zash

    singpolyma, but now you can know that something is over the limit and turn it into a stanza error before sending it :)

  413. Zash

    you could do something like that internally in a client too

  414. MattJ

    XEP-0478 <3

  415. singpolyma

    Zash: how would you know? Since the limit is set by up to two remote parties who don't tell you their limits

  416. Zash

    singpolyma, seen https://xmpp.org/extensions/xep-0478.html ?

  417. Zash

    working name "Path MTU" :)

  418. MattJ

    singpolyma, if everyone supports '478 then there is no stream closure case now

  419. moparisthebest

    Yep, very excited about that

  420. singpolyma has left

  421. singpolyma has joined

  422. singpolyma

    Oh I see, that does indeed fix the s2s case I mentioned

  423. neshtaxmpp has left

  424. neshtaxmpp has joined

  425. neshtaxmpp has left

  426. BASSGOD has left

  427. ralphm has joined

  428. neshtaxmpp has joined

  429. Tobias has left

  430. pablo has joined

  431. Tobias has joined

  432. wladmis has left

  433. wladmis has joined

  434. Tobias has left

  435. Tobias has joined

  436. Tobias has left

  437. Tobias has joined

  438. Tobias has left

  439. Tobias has joined

  440. singpolyma has left

  441. singpolyma has joined

  442. xnamed has joined

  443. singpolyma has left

  444. singpolyma has joined

  445. BASSGOD has joined

  446. ira.tester has left

  447. BASSGOD has left

  448. BASSGOD has joined

  449. xnamed has left

  450. xnamed has joined

  451. Tobias has left

  452. Tobias has joined

  453. Tobias has left

  454. Tobias has joined

  455. mjk has left

  456. Tobias has left

  457. Tobias has joined

  458. Tobias has left

  459. Tobias has joined

  460. floretta has left

  461. nicoco has joined

  462. Seve has left

  463. Tobias has left

  464. Tobias has joined

  465. Seve has joined

  466. floretta has joined

  467. jgart has left

  468. papatutuwawa has joined

  469. zonsopkomst has left

  470. zonsopkomst has joined

  471. adiaholic has left

  472. poliux has left

  473. adiaholic has joined

  474. singpolyma has left

  475. mjk has joined

  476. singpolyma has joined

  477. wladmis has left

  478. wladmis has joined

  479. stp has left

  480. singpolyma has left

  481. singpolyma has joined

  482. Wojtek has left

  483. MSavoritias (fae,ve) has left

  484. zonsopkomst has left

  485. Mikaela has left

  486. deimos has left

  487. xnamed has left

  488. BASSGOD has left

  489. nicola has joined

  490. singpolyma has left

  491. singpolyma has joined

  492. arcxi has left

  493. gooya has left

  494. neshtaxmpp has left

  495. neshtaxmpp has joined

  496. floretta has left

  497. gooya has joined

  498. deimos has joined

  499. arcxi has joined

  500. gooya has left

  501. papatutuwawa has left

  502. singpolyma has left

  503. singpolyma has joined

  504. BASSGOD has joined

  505. resoli has left

  506. matthias has joined

  507. floretta has joined

  508. nicola has left

  509. gooya has joined

  510. resoli has joined

  511. gooya has left

  512. singpolyma has left

  513. singpolyma has joined

  514. asterix has left

  515. jjrh has left

  516. asterix has joined

  517. singpolyma has left

  518. singpolyma has joined

  519. resoli has left

  520. neshtaxmpp has left

  521. neshtaxmpp has joined

  522. papatutuwawa has joined

  523. debacle has joined

  524. BASSGOD has left

  525. neshtaxmpp has left

  526. neshtaxmpp has joined

  527. asterix has left

  528. asterix has joined

  529. krit has left

  530. BASSGOD has joined

  531. Kev has joined

  532. Kev has left

  533. resoli has joined

  534. deimos has left

  535. deimos has joined

  536. pablo has left

  537. resoli has left

  538. resoli has joined

  539. eevvoor has left

  540. Maranda[x] has left

  541. singpolyma has left

  542. floretta has left

  543. singpolyma has joined

  544. Maranda[x] has joined

  545. emus

    *The XMPP Newsletter April 2023* https://xmpp.org/2023/05/the-xmpp-newsletter-april-2023/

  546. zonsopkomst has joined

  547. MSavoritias (fae,ve) has joined

  548. gooya has joined

  549. wladmis has left

  550. wladmis has joined

  551. Mikaela has joined

  552. asterix has left

  553. asterix has joined

  554. jjrh has joined

  555. wladmis has left

  556. wladmis has joined

  557. Menel has left

  558. Menel has joined

  559. Steve has left

  560. Steve has joined

  561. neshtaxmpp has left

  562. neshtaxmpp has joined

  563. adiaholic has left

  564. singpolyma has left

  565. singpolyma has joined

  566. adiaholic has joined

  567. placidus has joined

  568. Andrzej has left

  569. Andrzej has joined

  570. govanify has joined

  571. Martin has left

  572. Martin has joined

  573. BASSGOD has left

  574. catchy has left

  575. belove has left

  576. floretta has joined

  577. Yagiza has left

  578. ira.tester has joined

  579. belove has joined

  580. BASSGOD has joined

  581. singpolyma has left

  582. singpolyma has joined

  583. bean has joined

  584. Wojtek has joined

  585. Wojtek has left

  586. Wojtek has joined

  587. Dele Olajide has left

  588. stp has joined

  589. petrescatraian has joined

  590. stp has left

  591. SteveF has left

  592. singpolyma has left

  593. singpolyma has joined

  594. zonsopkomst has left

  595. singpolyma has left

  596. singpolyma has joined

  597. singpolyma has left

  598. singpolyma has joined

  599. Andrzej has left

  600. ira.tester has left

  601. ira.tester has joined

  602. placidus has left

  603. stp has joined

  604. bean has left

  605. BASSGOD has left

  606. uhoreg has left

  607. Half-Shot has left

  608. homebeach has left

  609. Matthew has left

  610. Half-Shot has joined

  611. Matthew has joined

  612. homebeach has joined

  613. uhoreg has joined

  614. ira.tester has left

  615. BASSGOD has joined

  616. djorz has joined

  617. Maranda[x] has left

  618. brunrobe has left

  619. KitKat::new() has left

  620. Mjolnir Archon has left

  621. Maranda has left

  622. Ingolf[m] has left

  623. stp has left

  624. singpolyma has left

  625. singpolyma has joined

  626. zonsopkomst has joined

  627. jcbrand has left

  628. jcbrand has joined

  629. KitKat::new() has joined

  630. matthias has left

  631. brunrobe has joined

  632. BASSGOD has left

  633. adiaholic has left

  634. adiaholic has joined

  635. catchy has joined

  636. mirux has left

  637. poliux has joined

  638. Trung has left

  639. Trung has joined

  640. pablo has joined

  641. adiaholic has left

  642. Trung has left

  643. Trung has joined

  644. adiaholic has joined

  645. singpolyma has left

  646. singpolyma has joined

  647. adiaholic has left

  648. brunrobe has left

  649. KitKat::new() has left

  650. Titi has joined

  651. Titi has left

  652. adiaholic has joined

  653. gooya has left

  654. inky has joined

  655. asterix has left

  656. asterix has joined

  657. pablo has left

  658. KitKat::new() has joined

  659. Dele Olajide has joined

  660. KitKat::new() has left

  661. floretta has left

  662. floretta has joined

  663. adiaholic has left

  664. adiaholic has joined

  665. paul has left

  666. paul has joined

  667. moparisthebest

    Great job as usual emus and team

  668. brunrobe has joined

  669. KitKat::new() has joined

  670. Trung has left

  671. Trung has joined

  672. Trung has left

  673. Trung has joined

  674. Ingolf[m] has joined

  675. Trung has left

  676. Trung has joined

  677. Maranda has joined

  678. Mjolnir Archon has joined

  679. Trung has left

  680. Trung has joined

  681. Trung has left

  682. Trung has joined

  683. stp has joined

  684. papatutuwawa has left

  685. Trung has left

  686. Alex has left

  687. Trung has joined

  688. asterix has left

  689. gooya has joined

  690. emus

    🧡

  691. adiaholic has left

  692. adiaholic has joined

  693. Dele Olajide has left

  694. Maranda[x] has joined

  695. petrescatraian has left

  696. cal0pteryx (wurstsalat) has left

  697. Menel has left

  698. antranigv has left

  699. Tobias has left

  700. Tobi has left

  701. floretta has left

  702. floretta has joined

  703. resoli has left

  704. projjalm has left

  705. projjalm has joined

  706. govanify has left

  707. Trung has left

  708. jcbrand has left

  709. projjalm has left

  710. MSavoritias (fae,ve) has left

  711. catchy has left

  712. andrew has joined

  713. bhavy has left

  714. neox has left

  715. moparisthebest has left

  716. moparisthebest has joined

  717. catchy has joined

  718. Chad has left

  719. emus has left

  720. catchy has left

  721. Chad has joined

  722. catchy has joined

  723. debacle has left

  724. emus has joined

  725. debacle has joined

  726. test4d has joined

  727. test4d_web has joined

  728. test4d_web has left

  729. goffi has left

  730. wladmis has left

  731. wladmis has joined

  732. BASSGOD has joined

  733. adiaholic has left

  734. singpolyma has left

  735. singpolyma has joined

  736. debacle has left

  737. debacle has joined

  738. adiaholic has joined

  739. lskdjf has left

  740. Wojtek has left

  741. placidus has joined

  742. placidus has left

  743. moparisthebest has left

  744. Wojtek has joined

  745. Wojtek has left

  746. moparisthebest has joined

  747. Wojtek has joined

  748. Wojtek has left

  749. adiaholic has left

  750. adiaholic has joined