Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3de8b532 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8083882 from 56492f1e to mainline-media-release

Change-Id: Ib156651fc6a60cc38adc218d4816d08ac99f3458
parents 50255b55 56492f1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ int getDnsInfo(unsigned netId, std::vector<std::string>* servers, std::vector<st
        return 0;
    }

    // Verify that the returned data is sane.
    // Verify that the returned data is valid.
    if (nscount < 0 || nscount > MAXNS || dcount < 0 || dcount > MAXDNSRCH) {
        LOG(ERROR) << __func__ << ": nscount = " << nscount << ", dcount = " << dcount;
        return -ENOTRECOVERABLE;
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ pub struct Dispatcher {
}

impl Dispatcher {
    const DOH_THREADS: usize = 2;
    const DOH_THREADS: usize = 1;

    pub fn new(validation: ValidationReporter, tagger: SocketTagger) -> Result<Dispatcher> {
        let (cmd_sender, cmd_receiver) = mpsc::channel::<Command>(MAX_BUFFERED_CMD_COUNT);