SRV handling of weight and priority is complicated
Bug #785022 reported by
François Marier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Services_Libravatar |
Fix Committed
|
High
|
Melissa Draper |
Bug Description
It looks like the priority is handled correctly, but the weight attribute is more of a statistical thing (see RFC2782 weight ordering algorithm on page 3 for the gory details).
You can probably just copy the code from the Perl module (srv_hostname function):
http://
Changed in services-libravatar: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in services-libravatar: | |
status: | Confirmed → In Progress |
assignee: | nobody → Melissa Draper (melissa) |
Changed in services-libravatar: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Does https:/ /gitorious. org/services_ libravatar/ services_ libravatar/ blobs/master/ Services/ Libravatar. php#line314 look approximately correct to you?