Notices where this attachment appears
-
Embed this notice
@p @0 @neko babes maybe you can help me here. i'm working on a fedi client on plan9 using webfs(4), and am in the process of implementing oauth app registration, but I'm running into an error when writing the request to a file (/mnt/web/$connection/postbody) and then reading the response (/mnt/web/$connection/body). when i write the oauth request to the postbody file it seems to not write any bytes, and then the program hangs while reading the body file. @sam says something is raping the stack, and we think the hanging is caused by trying to read the body file, (which is empty, due to the request never being written to postbody). So my question would be what could be causing write(2) to not write any bytes?
this is the output:
{"client_name":"9fedi","redirect_uris":"urn:ietf:wg:oauth:2.0:oob","scopes":"read write follow push","website":"null"}
size: 119
bytes written: 0
nrequest: 118
program attached