Benoit Chesneau
d567089c3a
remove GUNICORN_FD env after we start
2010-02-16 15:36:37 +01:00
Benoit Chesneau
e7155f4714
obviously since we already used it, it's here. would have been better if we
...
testes the right. fixed!
variable
2010-02-16 15:23:30 +01:00
Benoit Chesneau
87336be46b
remove unused import/var and some fixes
2010-02-16 14:24:40 +01:00
Benoit Chesneau
d54c832fbc
reuse the code to run hooks
2010-02-16 11:55:09 +01:00
Benoit Chesneau
9fea7dd34b
useless print
2010-02-16 11:08:14 +01:00
Benoit Chesneau
d48bc785e6
add before_exec hook.
2010-02-16 10:32:43 +01:00
Benoit Chesneau
6bc97b926f
typo
2010-02-16 10:21:50 +01:00
Benoit Chesneau
cb0be6d454
add after/before fork hooks
2010-02-16 10:19:15 +01:00
Benoit Chesneau
13d9288d69
refactor config and put all in config object
2010-02-16 10:08:07 +01:00
Benoit Chesneau
6497d5aab2
some fixes.
2010-02-16 08:33:49 +01:00
jbergstroem
7dc51eb92b
Merge configs from default,file and argv
2010-02-16 08:16:49 +01:00
jbergstroem
5636eb6d00
Switch to execfile instead of imp, suggested by davisp. Introduce default config dict
2010-02-16 08:13:34 +01:00
jbergstroem
34d81a7703
Add method for returning a config (python) file as dict. Heavily inspired by pyconf
2010-02-16 08:12:39 +01:00
Benoit Chesneau
374f0898a9
fix issue #15 . patch provided by @lericson . Thanks!
2010-02-15 20:28:09 +01:00
Benoit Chesneau
e8a82c9598
really fix this indent stuff.
2010-02-15 16:02:24 +01:00
Benoit Chesneau
947ddaee40
fix indent. I hate osx sometimes
2010-02-15 15:59:46 +01:00
Benoit Chesneau
6e3fec40fc
update README. while I'm here add short option for workers
2010-02-15 15:57:58 +01:00
Benoit Chesneau
ec7614f50c
fix django extensions
2010-02-15 15:48:02 +01:00
Benoit Chesneau
dabf3395aa
some will put it as integer in conf file
2010-02-15 15:37:49 +01:00
benoitc
5cc19f7037
allow changin worker user/group in non daemon mode. fix authorization of
...
unix socket too
2010-02-15 15:27:29 +01:00
Benoit Chesneau
330e945c7a
license header
2010-02-15 14:54:21 +01:00
Paul J. Davis
e63bd7b843
Use getsockname for logging TCP socket info.
...
When a user wants the kernel to choose a random port we need to display
which port was chosen.
2010-02-15 14:53:32 +01:00
Paul J. Davis
61b31994d1
Refactored the socket creation code.
2010-02-15 14:53:32 +01:00
Benoit Chesneau
26e8f153ca
shouldn't have been merged
2010-02-15 14:53:02 +01:00
Benoit Chesneau
2e170bb3ad
fix paster serve
2010-02-15 14:43:39 +01:00
Benoit Chesneau
d00712da2e
while we are here just parse all the address in the conf file. so we
...
could have unix socket support in paster app too by just passing the
host
2010-02-15 14:41:13 +01:00
Benoit Chesneau
7036e424bb
reuse code
2010-02-15 14:35:25 +01:00
Benoit Chesneau
df74d1679f
useless spaces
2010-02-15 14:05:15 +01:00
Benoit Chesneau
53814c1af4
add user/group option. uid/gid or username/groupname can now be passed
...
in daemon mode.
2010-02-15 14:03:48 +01:00
benoitc
07d252eb4d
add umask option
2010-02-15 11:30:15 +01:00
Benoit Chesneau
2d760e492d
apply patch from lericson
2010-02-12 14:37:55 +01:00
Benoit Chesneau
d8baf9b30e
fix #10 & #11 . thanks
2010-02-12 10:22:22 +01:00
jbergstroem
7230d65e22
Fix: Typos, tabs to spaces and default workers
2010-02-10 16:59:24 -05:00
jbergstroem
cb2d9203ee
No need for duplicate test(ing).py
2010-02-10 16:59:23 -05:00
jbergstroem
b9482801f6
Fix typos
2010-02-10 16:59:23 -05:00
jbergstroem
4745bc6830
Include tests and examples in sdist
2010-02-10 16:59:23 -05:00
jbergstroem
21db06c7c0
Manifest.in is case sensitive
2010-02-10 16:59:23 -05:00
Paul J. Davis
47776417d5
Repeated headers request test.
...
Test the environ produced by a request object for repeated headers.
2010-02-10 11:01:14 -05:00
Paul J. Davis
588b48b2cd
Comma separate repeated request headers.
...
RFC 2616 says that only headers that are allowed to have comma separated
values are acceptable for repetition. Though it doesn't specify an error
condition for that situation. I reckon the cleanest way would be to list
the headers that are acceptable for repetition, and return a 400 Bad
Request.
2010-02-10 10:55:09 -05:00
Benoit Chesneau
61840c3707
response headers should be a tupple.
2010-02-10 16:07:05 +01:00
Benoit Chesneau
54357b3487
fix logging in file in daemon mode. error spotted by @jbergstroem and
...
fixed with help of @asenchi
2010-02-10 12:04:06 +01:00
Benoit Chesneau
b0250cbb5e
test first with args if any then use the default. While I'm here remove
...
caps that was hurting my eyes.
2010-02-10 10:41:32 +01:00
Benoit Chesneau
f2274ca23b
oops typo. sry for that
2010-02-10 10:20:58 +01:00
Benoit Chesneau
950f5d356e
update THANKS
2010-02-10 10:19:40 +01:00
Benoit Chesneau
029a861fd0
fix usages messages
2010-02-10 10:18:08 +01:00
Benoit Chesneau
a7f3d941a3
add possibility to set the settings.py path in gunicorn_django command.
...
(allows you to use different files too)
2010-02-10 10:10:40 +01:00
Benoit Chesneau
593051a43d
only looks for settings.py after we set the command line options
2010-02-10 09:54:01 +01:00
Benoit Chesneau
f071e7d4e1
fix version handling
2010-02-09 23:05:12 +01:00
Benoit Chesneau
3e20e11e39
bump version
2010-02-09 22:59:26 +01:00
Benoit Chesneau
0d0367361f
no need for this change now
2010-02-08 18:51:16 +01:00