Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookie is not copied in copy constructor of class message #69

Closed
aj3423 opened this issue Sep 20, 2014 · 1 comment
Closed

cookie is not copied in copy constructor of class message #69

aj3423 opened this issue Sep 20, 2014 · 1 comment

Comments

@aj3423
Copy link

aj3423 commented Sep 20, 2014

the m_cookie_params is not copied in message, so

    pion::http::response resp_1(req);
resp_1.receive(con, err); //  resp_1  contains cookie
pion::http::response resp_2 = resp_1; // cookie is not copied to resp_2
mikedickey pushed a commit that referenced this issue Nov 19, 2015
cookies are not copied for http::message base class
@mikedickey
Copy link
Contributor

Nice catch, thank you! Fixed in 5ba8026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants