* Roberto De Ioris <[email protected]> [2013-03-10 16:59]:
>>> I still get the same segfault when removing corerouter from the
>>> --plugins argument.
>>>
>>> When embedding corerouter, everything works fine but I get the
>>> following warnings:
>>> open("plugins/corerouter_plugin.so"): No such file or directory
>>> [core/utils.c line 3262]
>>> !!! UNABLE to load uWSGI plugin: plugins/corerouter_plugin.so: cannot
>>> open shared object file: No such file or directory !!!
>>> open("plugins/corerouter_plugin.so"): No such file or directory
>>> [core/utils.c line 3262]
>>> !!! UNABLE to load uWSGI plugin: plugins/corerouter_plugin.so: cannot
>>> open shared object file: No such file or directory !!!
>>
>> Actually even with embedded corerouter routing seems broken:
>>
>> $ ./uwsgi --plugins=0:notfound,http --http-socket=:8080
>> --check-static=$PWD --route='.* break:403 Forbidden'
>>
>> $ curl -I http://127.0.0.1:8080/logo_uWSGI.png
>> HTTP/1.1 200 OK
>> Content-Type: image/png
>> Content-Length: 5971
>> Last-Modified: Sun, 10 Mar 2013 10:52:54 GMT
>>
>> bit.it/cgi-bin/mailman/listinfo/uwsgi
>
>
> this is fixed (previous version had static-check precedence over routing
> and was obviously wrong)
>
> Regarding the plugin problem, i suppose you have screwed up something
> loading plugin compiled for another version and so on.
>
> i suggest you to clear all of the *.so files and rebuild each one.
>
> The corerouter should be compiled modular if the router is modular too (it
> is not a need but the plugin loader is still not too much smart about
> auto-loading, so it should be the safest choice)

I just did a fresh checkout, rebuilt and it indeed works now with
a modular corerouter, sorry for the noise.

The routing now also works as expected, thanks for the quick fix.
-- 
Guido Berhoerster
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to