search for: log_out

Displaying 3 results from an estimated 3 matches for "log_out".

Did you mean: log_buf
2005 Jun 23
1
getpeername() and SSL
Hi Timo, first of all: i'm using 0.99.14. You helped me to raw-log the client-IP using something like this in rawlog.c: if (net_getpeername(0, &ip, NULL) == 0) { str = t_strdup_printf("IP: %s\n", net_ip2addr(&ip)); write_full(log_out, str, strlen(str)); } Now i got the problem, that this doesn't work when the client is connected using SSL. After some testing i think, the problem is, that after calling net_getpeername() the ip-family is AF_UNIX, not AF_INET, so net_ip2addr() returns null, but i'm not sure ;-) And i have...
2011 Feb 24
1
concurrent users.
...ave: class ApplicationController < ActionController::Base protect_from_forgery before_filter RubyCAS::Filter before_filter :fetch_operator include SessionsHelper private def fetch_operator @operator ||= session[:cas_user] && Operator.find_by_uid(session[:cas_user]) log_out if @operator.nil? end end @operator is available for all controllers of my application. But If I run, for example, two instances of my application from different locations. In the first instance the user logs in as ''user1'', later from another location, another user logs in as...
2008 Jun 15
2
RSpec story failing because of routing error on "/"
...rd: Password, and submit: ''Log in'' <snip/> FAILURES: 1) Creating an account (Anonymous user can start creating an account) FAILED ActionController::RoutingError: No route matches "/" with {:method=>:get} ./stories/steps/user_steps.rb:104:in `log_out!'' ./stories/steps/user_steps.rb:12:in `an anonymous user'' stories/rest_auth_stories.rb:17 <snip/> I am running: Rails: 2.1.0 RSpec-1.1.4 And this is a completely fresh install with no code added by me. Here are the steps to replicate (from my app root): git clone git:/...