eclipse-archived / californium.core

Californium project
86 stars 69 forks source link

HttpProxy does not set coap request type. #28

Closed nmacs closed 9 years ago

nmacs commented 9 years ago

Requests do not have CON type set. As result they do not go through retransmission code. The path fixes it.

mkovatsc commented 9 years ago

The endpoint being null for an exchange should not be silently ignored. The NPE is a good indicator that the exchange was created in an incorrect way. Anyhow, thanks a lot for the fix! To avoid the paperwork, I included your small fix for the type in 931ed30. For future contributions note that Eclipse requires a Contributor License Agreement and the signed-off-by option in the commit (https://www.eclipse.org/legal/CoO.php).