Diego Nehab

Results 62 comments of Diego Nehab

Nothing there yet, eh? :(

The solution to the problem remains the same. I don't mind that people modify LuaSocket to export internal symbols I never intended to be exported. However, if you are going...

You will either have to recompile and extend setsize, or use an edge triggered alternative to select. Maybe libevent?

It's my bad. I'll take a look and see if I can tweak the interface a bit.

I'm going to split this into two separate issues. Will look first into the exporting of parse request. I recently fixed an issue in which HTTP was redirecting to HTTPS...

@tieske, can you check the latest push? I exposed the URL parsing functions as "_M.genericform" in http.lua and ftp.lua since that is the name I use for the type of...

Agree. I didn't like parseurl because there is a module url that actually does the parsing. It's more like building a generic form of the request from an url. With...

Right now, the code does the right thing. I.e., if there is a redirect to any scheme other than http, LuaSocket won't follow it. Previously, it would follow any scheme...

It will involve the create trick, of course. But that trick is no longer enough.

I understand that it is possible for the create method to look at the request table and make modifications so it works with https. (We'd need to fix adjust request...