[web-devel] Web.Encodings + Hack - Not sure what I'm doing wrong.
michael at snoyman.com
Tue May 18 05:23:26 EDT 2010
On Tue, May 18, 2010 at 11:49 AM, Clint Moore <cmoore at wamboli.com> wrote:
> On Tue, May 18, 2010 at 1:32 AM, Clint Moore <cmoore at wamboli.com> wrote:
> > On Tue, May 18, 2010 at 1:28 AM, Michael Snoyman <michael at snoyman.com>
> >> A few questions (this might still be my fault):
> >> * What operating system are you working on?
> > ubuntu 10.4
> >> * Which version of GHC?
> > 6.12.2 from the GHC site.
> >> * What hack handler is your original code using?
> > Epoll
> > I had to switch to that for the example code as well - for some
> > reason, simpleserver wasn't replying to requests. I went as far as to
> > telnet to the port and make a request for / and didn't get anything
> > back. telnet localhost 3000 -> GET /<enter><enter> and a few more
> > <enter>s for good measure :)
> > Maybe I should try h-h-happstack and see if that changes anything.
> >> I'm worried that hack-handler-simpleserver might not be working properly
> >> Windows due to encoding issues. I just booted up my Windows virtual
> >> and am downloading Haskell (I usually only use it for testing sites in
> >> Michael
> That was it. It works using hack-handler-happstack!
> Yay, now I can make my deadline. Thanks once again for all of your help!
Sure. I'd write a bug report to the epoll author. Funny thing about
simpleserver not responding, I wonder why...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel