Evgeny M.
Evgeny M.
After `sp_destroy(db)` was called, it is impossible to reopen db again with `sp_open(db)`, the env should be closed and reopened with `sp_destroy(env); sp_open(env);` right?
Likely the whole branch https://github.com/ErlyORM/boss_db/blob/master/src/boss_compiler.erl#L219 should be removed.
https://github.com/ErlyORM/boss_db/pull/255
I confirm
The problem is in this call: `mochiweb_socket:send(Req:socket(), Chunk)` in the `boss_web_controller_handle_request.erl` Implementation of the `socket()` function in `cowboy_simple_bridge.erl`: ``` erlang socket(_ReqKey) -> undefined. ```
yeah i already realised that /1 and /2 are related to pmod, but deleted the message too late :) Tbh I don't like `Size` requirement in `set_response_data`.
The code below in `boss_web_controller_handle_request` makes chunked streaming work, for cowboy only: ``` erlang handle_response(Bridge, _Payload = {stream, Generator, Acc0}, RequestMethod) -> Bridge:set_response_data({chunked, fun(SendChunked) -> process_stream_generator(SendChunked, RequestMethod, Generator, Acc0) end...
I'd add that this pull is not ready for getting accepted yet until I add support for datetimes and some tests. It's here for discussing about whether should it be...
`gen_testgen` and `gen_testgen_impl` in https://github.com/brigadier/testgen Erlang 19.0.2 Pycharm 2016.2
Always reproducible on my laptop, Erlang 19.1.6 (and other versions too), Pycharm 2016.2, plugin v.0.8.913 OTP is installed by kerl in /home/username/Apps/erlang/19.1.6 linux x64 gentoo  Do you need any...