Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdata committed Oct 10, 2023
1 parent a37b2c4 commit 9d685d3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions session.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package jaws

import (
"fmt"
"net"
"net/http"
"time"
Expand Down Expand Up @@ -39,10 +38,6 @@ func newSession(jw *Jaws, sessionID uint64, remoteIP net.IP) *Session {
}
}

func (sess *Session) String() string {
return fmt.Sprintf("%p{%s}", sess, JawsKeyString(sess.sessionID))
}

func (sess *Session) isDeadLocked() bool {
return sess.cookie.MaxAge < 0 || (len(sess.requests) == 0 && time.Since(sess.deadline) > 0)
}
Expand Down

0 comments on commit 9d685d3

Please sign in to comment.