interim commit

This commit is contained in:
hyunghwan.chung 2018-05-15 10:11:28 +00:00
parent 10dff52d58
commit 2d24c53481
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,14 @@
###include 'Moo.moo'.
#include 'Socket.moo'.
class HttpReq(Object)
{
}
class HttpReqBuilder(Object)
{
}
class HttpConnReg(Object)
{
var connections.
@ -82,6 +90,7 @@ class HttpSocket(Socket)
method onSocketDataIn
{
'CLIENT got DATA' dump.
self readBytes
self close.
}

View File

@ -2207,7 +2207,7 @@ static moo_pfrc_t pf_block_new_process (moo_t* moo, moo_mod_t* mod, moo_ooi_t na
* context of a process. */
blkctx->sender = (moo_oop_context_t)moo->_nil;
proc = make_process (moo, blkctx);
proc = make_process(moo, blkctx);
if (!proc) return MOO_PF_FAILURE; /* hard failure */ /* TOOD: can't this be treated as a soft failure? throw an exception instead?? */
/* __block_value() has popped all arguments and the receiver.