GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Fix a bug in the SpawnOptions serialization code.
Hongli Lai (Phusion) (author)
Sat Aug 02 09:31:06 -0700 2008
commit  f0dd5ff86d050a06476d5dc0a9b8869ab9390967
tree    748239c784c836c45423f46de8c3d1fdb85293a1
parent  66b78481790c32b3210f143f8c08c3ce6b2c2430
...
198
199
200
201
 
202
203
204
...
198
199
200
 
201
202
203
204
0
@@ -198,7 +198,7 @@ struct SpawnOptions {
0
     appendKeyValue (vec, "app_type", appType);
0
     appendKeyValue2(vec, "framework_spawner_timeout", frameworkSpawnerTimeout);
0
     appendKeyValue2(vec, "app_spawner_timeout", appSpawnerTimeout);
0
- appendKeyValue3(vec, "max_requests", 0);
0
+ appendKeyValue3(vec, "max_requests", maxRequests);
0
   }
0
 
0
 private:
...
25
26
27
 
 
 
 
 
 
 
 
28
29
...
25
26
27
28
29
30
31
32
33
34
35
36
37
0
@@ -25,5 +25,13 @@ namespace tut {
0
     
0
     SpawnOptions copy(args, 2);
0
     ensure_equals(options.appRoot, copy.appRoot);
0
+ ensure_equals(options.lowerPrivilege, copy.lowerPrivilege);
0
+ ensure_equals(options.lowestUser, copy.lowestUser);
0
+ ensure_equals(options.environment, copy.environment);
0
+ ensure_equals(options.spawnMethod, copy.spawnMethod);
0
+ ensure_equals(options.appType, copy.appType);
0
+ ensure_equals(options.frameworkSpawnerTimeout, copy.frameworkSpawnerTimeout);
0
+ ensure_equals(options.appSpawnerTimeout, copy.appSpawnerTimeout);
0
+ ensure_equals(options.maxRequests, copy.maxRequests);
0
   }
0
 }

Comments

    No one has commented yet.