View Single Post
Old 11-19-2013, 07:07 AM   #25
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
irc.freenode.net #uwsgi
<unbit> twobob: really cool, by the way i have fixed the problem



so that will build okay now. without the need to hack the build script in the future.

Thanks unbit.
At least it is fixed for ARM and X86:
https://github.com/unbit/uwsgi/commi...ee3b387f00d88b

The above link will give you the patch file to fix-up your copy of the source without pulling / building the 'head' of the repository.

A development note:
The source tree needs to be searched for other occurrences of hard coded, arch specific, system calls - example given above.

And all of those should be consolidated into macro call, where arch specific things can be maintained in a single *.h file.

Edit:
OK, so I did that.
And he only missed one other hardcoded system call, where it does not effect Linux builds.

- - - -

And in answer to my own question above -

Perhaps what I should do is create an "authentication server" with this that faces the public Internet.
Once authentication is complete, it would just proxy that session to the "real" web server running on localhost.

That would require only that I can get the hosting provider web server to answer only on localhost, no other changes.

Last edited by knc1; 11-19-2013 at 07:46 AM.
knc1 is offline   Reply With Quote