Navigation



Ignore:
Timestamp:
Mar 24, 2014, 9:13:38 PM (10 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove whitespace at end of line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rt_redirect/rt_redir.h

    r1235 r1259  
    3939/* There are 2 locks in this module. The priority is established as follow to avoid deadlocks:
    4040exp_peer mutex > usages rwlock.
    41 (e.g., the rwlock can be taken while holding the mutex, but not the other way) 
     41(e.g., the rwlock can be taken while holding the mutex, but not the other way)
    4242*/
    4343
     
    5959/* Expiration time set for DONT_CACHE tasks, so that the entry is found when the code is called back */
    6060#define DEFAULT_EXPIRE_TIME 10 /* seconds */
    61        
     61
    6262/* Structure to store a parsed Redirect-Host */
    6363struct redir_host {
    64         struct fd_list chain; 
    65        
     64        struct fd_list chain;
     65
    6666        DiamId_t id;    /* malloc'd */
    6767        size_t   len;
    68         /* We don't use the following yet because we don't support dynamic new connections 
     68        /* We don't use the following yet because we don't support dynamic new connections
    6969        int      secure;
    7070        uint16_t port;
     
    117117        } user;
    118118};
    119        
     119
    120120
    121121/* Structure to store a Redirect indication */
    122122struct redir_entry {
    123123        uint32_t eyec; /* must be REDIR_ENTRY_EYEC, used for debug only */
    124        
     124
    125125        struct {
    126126                os0_t s; /* alloc'd, must be freed */
     
    132132        struct timespec  timeout;  /* When does this entry expires? */
    133133        struct fd_list   exp_list; /* chain in the expire_list list, ordered by expiration date, protected by exp_peer_lock */
    134        
     134
    135135        enum redir_h_u type;  /* Type of this entry */
    136136        struct fd_list redir_list; /* link in redirects_usages lists. Lists are ordered by the data value. Protected by rw locks */
Note: See TracChangeset for help on using the changeset viewer.