jdev - 2019-11-23


  1. wurstsalat has left

  2. Daniel has left

  3. debacle has left

  4. Daniel has joined

  5. Daniel has left

  6. Alex has joined

  7. SERGE90 has left

  8. Alex has left

  9. larma has left

  10. SERGE90 has joined

  11. larma has joined

  12. Daniel has joined

  13. Daniel has left

  14. tom has left

  15. tom has joined

  16. Zash has left

  17. DebXWoody has left

  18. SERGE90 has left

  19. SERGE90 has joined

  20. DebXWoody has joined

  21. paul has joined

  22. zuk has joined

  23. Daniel has joined

  24. Daniel has left

  25. Daniel has joined

  26. pulkomandy has left

  27. pulkomandy has joined

  28. DebXWoody has left

  29. DebXWoody has joined

  30. lovetox has joined

  31. SERGE90 has left

  32. pulkomandy has left

  33. pulkomandy has joined

  34. Alex has joined

  35. pulkomandy has left

  36. pulkomandy has joined

  37. asterix has joined

  38. pulkomandy has left

  39. pulkomandy has joined

  40. asterix has left

  41. asterix has joined

  42. asterix has left

  43. asterix has joined

  44. asterix has left

  45. asterix has joined

  46. wurstsalat has joined

  47. goffi has joined

  48. zuk has left

  49. asterix has left

  50. asterix has joined

  51. debacle has joined

  52. asterix has left

  53. asterix has joined

  54. asterix has left

  55. asterix has joined

  56. asterix has left

  57. asterix has joined

  58. asterix has left

  59. asterix has joined

  60. asterix has left

  61. asterix has joined

  62. lovetox_ has joined

  63. lovetox_ has left

  64. rion has left

  65. rion has joined

  66. debacle has left

  67. zuk has joined

  68. zuk has left

  69. asterix has left

  70. asterix has joined

  71. Daniel has left

  72. asterix has left

  73. asterix has joined

  74. Zash has joined

  75. asterix has left

  76. asterix has joined

  77. asterix has left

  78. asterix has joined

  79. debacle has joined

  80. zuk has joined

  81. Daniel has joined

  82. asterix has left

  83. asterix has joined

  84. asterix has left

  85. asterix has joined

  86. debacle has left

  87. Zash has left

  88. pulkomandy has left

  89. asterix has left

  90. asterix has joined

  91. Zash has joined

  92. pulkomandy has joined

  93. pulkomandy has left

  94. pulkomandy has joined

  95. alexis has left

  96. pulkomandy has left

  97. asterix has left

  98. asterix has joined

  99. pulkomandy has joined

  100. debacle has joined

  101. aj has joined

  102. aj has left

  103. asterix has left

  104. asterix has joined

  105. aj has joined

  106. debacle has left

  107. asterix has left

  108. asterix has joined

  109. goffi has left

  110. goffi has joined

  111. aj has left

  112. aj has joined

  113. aj has left

  114. pulkomandy has left

  115. pulkomandy has joined

  116. alexis has joined

  117. asterix has left

  118. asterix has joined

  119. pulkomandy has left

  120. asterix has left

  121. asterix has joined

  122. pulkomandy has joined

  123. goffi has left

  124. Alex has left

  125. Alex has joined

  126. pulkomandy has left

  127. paul has left

  128. pulkomandy has joined

  129. asterix has left

  130. asterix has joined

  131. asterix has left

  132. asterix has joined

  133. Daniel has left

  134. Daniel has joined

  135. asterix has left

  136. asterix has joined

  137. pulkomandy has left

  138. pulkomandy has joined

  139. paul has joined

  140. lovetox

    must a IQ ID be unique within a session?

  141. lovetox

    i dont remember reading this anywhere

  142. lovetox

    but would be weird if a client would have to expect reoccurring iq ids

  143. pulkomandy has left

  144. Zash

    https://xmpp.org/rfcs/rfc6120.html#stanzas-attributes-id

  145. jonas’

    lovetox, It is up to the originating entity whether the value of the 'id' attribute is unique only within its current stream or unique globally.

  146. jonas’

    https://tools.ietf.org/html/rfc6120#section-8.1.3

  147. lovetox

    ok but it has to be one of either

  148. lovetox

    thought so, otherwise this would create weird problems

  149. jonas’

    lovetox, in which way?

  150. jonas’

    because a remote client may open a new stream without you noticing

  151. jonas’

    so you still might see duplicate IDs

  152. Zash

    At least avoid using the same (from, to, id) while one such iq is in flight

  153. lovetox

    i just thought about, if i send a iq get

  154. guus.der.kinderen has left

  155. guus.der.kinderen has joined

  156. lovetox

    i only save the id, and if i see the id i call the callback

  157. Zash

    What if I reply with the same id from a different jid?

  158. Alex has left

  159. lovetox

    its considered so unlikely that i can live with it

  160. Zash

    feels bad man

  161. lovetox

    you would have to guess the id in the right moment

  162. lovetox

    also iqs i send are uuid

  163. lovetox

    so the chance is lets say near zero

  164. lovetox

    it would be a major achievment if you could guess a uuid in the right moment

  165. lovetox

    but i guess i answered my own question

  166. lovetox

    because im in control of choosing the id

  167. lovetox

    not the server

  168. alexis has left

  169. Alex has joined

  170. debacle has joined

  171. Meta Bergman has left

  172. Meta Bergman has joined

  173. Meta Bergman has left

  174. Meta Bergman has joined

  175. allie has left

  176. allie has joined

  177. asterix has left

  178. asterix has joined

  179. alexis has joined

  180. asterix has left

  181. asterix has joined

  182. zuk has left

  183. arashi has left

  184. asterix has left

  185. asterix has joined

  186. asterix has left

  187. pulkomandy has joined

  188. lovetox has left

  189. pulkomandy has left

  190. arashi has joined

  191. pulkomandy has joined

  192. arashi has left

  193. arashi has joined

  194. Daniel has left