> Hi Robin, > > my push > https://github.com/cesanta/mongoose/commit/e38061970ec73d5a3f546ad7893623cb7a40c1d9 > has exposed "int mg_authorize_digest(struct mg_connection *conn, FILE *fp) > function that > authorizes current connection against the passwords file. > "fp" must be a valid, opened file stream. > > Please let me know how your upgrade goes.
That appears to work fine - I had to copy 'send_authorise' with changes to use the mg_connection rather than connection struct parameter to actually prompt the user for the username/password and that got it all working. I'll do a bit or cleanup work and grab couple of wireshark traces (deleting session details in the browser etc) to make sure it is all OK. Cheers. -- Robin Gilks -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
