Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Jie Yu


> On July 20, 2016, 9:39 p.m., Adam B wrote:
> > Won't this break upgrades for any user already using these environment 
> > variables?!?
> 
> Adam B wrote:
> Nevermind.. premature panic. Now I see
> ```
>   // To be backward compatible, for each environment variable prefixed
>   // by SSL_, we generate the corresponding LIBPROCESS_SSL_ version.
> ```
> So even if we use the `SSL_` variety, libprocess will use the values, but 
> subprocesses will not see them?
> 
> Jie Yu wrote:
> No, it won't. see the doc.

subprocess will still see them. we don't change/add/update env variables during 
fork.

users should use LIBPROCESS_SSL instead to avoid conflicts with openssl.


- Jie


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review143010
---


On July 20, 2016, 8:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 8:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Adam B

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review143010
---



Won't this break upgrades for any user already using these environment 
variables?!?

- Adam B


On July 20, 2016, 1:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 1:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Jie Yu


> On July 20, 2016, 9:39 p.m., Adam B wrote:
> > Won't this break upgrades for any user already using these environment 
> > variables?!?
> 
> Adam B wrote:
> Nevermind.. premature panic. Now I see
> ```
>   // To be backward compatible, for each environment variable prefixed
>   // by SSL_, we generate the corresponding LIBPROCESS_SSL_ version.
> ```
> So even if we use the `SSL_` variety, libprocess will use the values, but 
> subprocesses will not see them?

No, it won't. see the doc.


- Jie


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review143010
---


On July 20, 2016, 8:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 8:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Adam B


> On July 20, 2016, 2:39 p.m., Adam B wrote:
> > Won't this break upgrades for any user already using these environment 
> > variables?!?

Nevermind.. premature panic. Now I see
```
  // To be backward compatible, for each environment variable prefixed
  // by SSL_, we generate the corresponding LIBPROCESS_SSL_ version.
```
So even if we use the `SSL_` variety, libprocess will use the values, but 
subprocesses will not see them?


- Adam


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review143010
---


On July 20, 2016, 1:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 1:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Joris Van Remoortere


> On July 20, 2016, 9 p.m., Joseph Wu wrote:
> > 3rdparty/libprocess/src/openssl.cpp, line 312
> > 
> >
> > Don't forget the change the documentation too!

It's reportedly on it's way. Has to be a separate patch still right?


- Joris


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review143000
---


On July 20, 2016, 8:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 8:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Joseph Wu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review143000
---




3rdparty/libprocess/src/openssl.cpp (line 312)


Don't forget the change the documentation too!


- Joseph Wu


On July 20, 2016, 1:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 1:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Joris Van Remoortere

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/#review142996
---


Fix it, then Ship it!





3rdparty/libprocess/src/openssl.cpp (lines 306 - 308)


Do you want to report an error or warning if both are set but the values 
are different?



3rdparty/libprocess/src/tests/ssl_tests.cpp (line 323)


`LIBPROCESS_` missing.
Consider emphasising `IS`?



3rdparty/libprocess/src/tests/ssl_tests.cpp (line 357)


`LIBPROCESS_` missing.
Same thing with consider emphasizing `IS`.


- Joris Van Remoortere


On July 20, 2016, 8:34 p.m., Jie Yu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50257/
> ---
> 
> (Updated July 20, 2016, 8:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler, Joris Van Remoortere, Joseph Wu, 
> and Vinod Kone.
> 
> 
> Bugs: MESOS-5863
> https://issues.apache.org/jira/browse/MESOS-5863
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/include/process/ssl/gtest.hpp 
> a929cc90fc9ee975f3635957518ced4eb70bdfeb 
>   3rdparty/libprocess/src/openssl.hpp 
> 68f88970610293107b8349c216c34a32d5df9105 
>   3rdparty/libprocess/src/openssl.cpp 
> 63916ff66b4daa29120b7e6b12b329b68f746694 
>   3rdparty/libprocess/src/process.cpp 
> 9661386afd4fddd1877d55941fa403afc9230280 
>   3rdparty/libprocess/src/tests/ssl_client.cpp 
> 6b43cfc77681b5aca76da2638443155f682cd92f 
>   3rdparty/libprocess/src/tests/ssl_tests.cpp 
> 72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 
> 
> Diff: https://reviews.apache.org/r/50257/diff/
> 
> 
> Testing
> ---
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>



Re: Review Request 50257: Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.

2016-07-20 Thread Jie Yu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50257/
---

(Updated July 20, 2016, 8:34 p.m.)


Review request for mesos and Joris Van Remoortere.


Changes
---

Fixed the tests.


Bugs: MESOS-5863
https://issues.apache.org/jira/browse/MESOS-5863


Repository: mesos


Description
---

Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support.


Diffs (updated)
-

  3rdparty/libprocess/include/process/ssl/gtest.hpp 
a929cc90fc9ee975f3635957518ced4eb70bdfeb 
  3rdparty/libprocess/src/openssl.hpp 68f88970610293107b8349c216c34a32d5df9105 
  3rdparty/libprocess/src/openssl.cpp 63916ff66b4daa29120b7e6b12b329b68f746694 
  3rdparty/libprocess/src/process.cpp 9661386afd4fddd1877d55941fa403afc9230280 
  3rdparty/libprocess/src/tests/ssl_client.cpp 
6b43cfc77681b5aca76da2638443155f682cd92f 
  3rdparty/libprocess/src/tests/ssl_tests.cpp 
72432ec8f91eb4d628df73e19edbaceb8a2c0fb9 

Diff: https://reviews.apache.org/r/50257/diff/


Testing (updated)
---

make check


Thanks,

Jie Yu