interim commit
This commit is contained in:
		@ -1,6 +1,14 @@
 | 
				
			|||||||
###include 'Moo.moo'.
 | 
					###include 'Moo.moo'.
 | 
				
			||||||
#include 'Socket.moo'.
 | 
					#include 'Socket.moo'.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class HttpReq(Object)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class HttpReqBuilder(Object)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class HttpConnReg(Object)
 | 
					class HttpConnReg(Object)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	var connections.
 | 
						var connections.
 | 
				
			||||||
@ -82,6 +90,7 @@ class HttpSocket(Socket)
 | 
				
			|||||||
	method onSocketDataIn
 | 
						method onSocketDataIn
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		'CLIENT got DATA' dump.
 | 
							'CLIENT got DATA' dump.
 | 
				
			||||||
 | 
							self readBytes 
 | 
				
			||||||
		self close.
 | 
							self close.
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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. */
 | 
						 * context of a process. */
 | 
				
			||||||
	blkctx->sender = (moo_oop_context_t)moo->_nil;
 | 
						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?? */
 | 
						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. 
 | 
						/* __block_value() has popped all arguments and the receiver. 
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user