Menu

#15 Priority not set in APIClient::handle_recv()

v2.7
open
nobody
5
2011-06-27
2011-06-27
Anonymous
No

The priority field is not being set in the applib/APIClient::handle_recv() method so all bundles received via the API have a priority of COS_BULK.

Discussion

  • Bradley D. Thornton

    I don't really understand.

    Nobody/Anonymous (nobody) files this bug report?

    I'm not seeing this. Is there any supporting info on this?

     
  • DZ

    DZ - 2011-07-19

    Sorry, sourceforge was not letting me create an account back then so I gave up and submitted the bug the only way I could.

    When the test app, dtnrecv, calls dtn_recv(handle, &spec, bundletype, &payload, recv_timeout), the spec.priority is always zero [COS_BULK].

    In APIClient::handle_recv(), the variable "spec" [dtn_bundle_spec_t] is zeroed out and then the field spec.priority is never set to the correct value [b->priority()].

    HTH
    DZ

     

Log in to post a comment.