Comment by ๐Ÿš€ mbays

=> Re: "Streaming bugs and UX improvements" | In: s/Lagrange-Issues

@skyjake Hmm, I guess also if there's a lengthy pause due to network delays the user could want to know when new data comes in.

=> ๐Ÿš€ mbays [OP]

2023-06-11 ยท 2 years ago

3 Later Comments โ†“

=> ๐Ÿš€ mbays [OP] ยท 2023-06-18 at 07:32:

This infstreamtest test seems to work fine on Android (I don't know what Lagrange version, but could find out). It remain broken with latest dev on my linux machine.

=> ๐Ÿš€ mbays [OP] ยท 2023-07-31 at 22:40:

Now I have seen the same truncation bug on Android (not with the test script linked above, but with something else similar which prints more on each line). The client becomes entirely unresponsive and needs to be restarted. (This may have been a fairly old version of lagrange for android, but the same bug is still observed on linux desktop with yesterday's latest git.)

=> ๐Ÿ•น๏ธ skyjake [mod...] ยท 2023-08-11 at 15:28:

v1.16.7 has a workaround for Bug 1 and resolves Bug 2.

Testing with Gemski, sometimes the updated content has a partial line, with incomplete ANSI sequences of course. I should still improve this to ensure that during streaming updates only complete lines are included in the page.

Original Post

=> ๐ŸŒ’ s/Lagrange-Issues

Two or three bugs with streamed gemtext in Lagrange (latest dev branch). Bug 1: truncation Occasionally, the streamed page is truncated in the output, even though the connection to server stays alive. It seems to always show complete lines, but sometimes all lines after some point are not shown, even if the stream is appended to. Test case: [gemini link] This is running the following cgi shell script: [preformatted] Running this locally, I find Lagrange truncates the page after some random...

=> ๐Ÿ’ฌ mbays ยท 5 comments ยท 2023-06-11 ยท 2 years ago ยท #bug #feature

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/mbays/1813
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
75.269428 milliseconds
Gemini-to-HTML Time
0.64716 milliseconds

This content has been proxied by September (ba2dc).