Github user canselcik commented on the pull request:

    https://github.com/apache/trafficserver/pull/323#issuecomment-153950655
  
    @jpeach `ClassAllocator<SpdyClientSession>`, when initialized, creates an 
instance of `SpdyClientSession` and puts it aside. At this point, for this 
"prototype", `SpdyClientSession::mutex` is `NULL`. 
    
    It uses the default constructor to create this instance, and then sets this 
instance aside to make duplicates of in the future when asked to.
    
    Normally, whenever `SpdyClientSession` is used, `SpdyClientSession::init()` 
is called immediately, but ClassAllocator doesn't perform such a specific 
operation as it should be as general as possible. 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to